[open-ils-commits] r16483 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri May 21 16:28:40 EDT 2010


Author: erickson
Date: 2010-05-21 16:28:34 -0400 (Fri, 21 May 2010)
New Revision: 16483

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Log:
enable grid paging by default.  replaced showPaginator with hidePaginator option

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js	2010-05-21 20:03:20 UTC (rev 16482)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js	2010-05-21 20:28:34 UTC (rev 16483)
@@ -27,7 +27,7 @@
             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(this.showPaginator) {
+                if(!this.hidePaginator) {
                     var self = this;
                     this.paginator = new dijit.layout.ContentPane();
 



More information about the open-ils-commits mailing list