enable grid paging by default. replaced showPaginator with hidePaginator option
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 21 May 2010 20:28:34 +0000 (20:28 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 21 May 2010 20:28:34 +0000 (20:28 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16483 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/AutoGrid.js

index 0ff2d87..8f70175 100644 (file)
@@ -27,7 +27,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
             displayLimit : 15,
             displayOffset : 0,
             requiredFields : null,
-            showPaginator : false,
+            hidePaginator : false,
             showLoadFilter : false,
             suppressLinkedFields : null, // list of fields whose linked display data should not be fetched from the server
 
@@ -76,7 +76,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
                     );
                 }
 
-                if(this.showPaginator) {
+                if(!this.hidePaginator) {
                     var self = this;
                     this.paginator = new dijit.layout.ContentPane();