[open-ils-commits] r11579 - trunk/Open-ILS/web/js/ui/default/acq/po

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 15 11:31:35 EST 2008


Author: erickson
Date: 2008-12-15 11:31:33 -0500 (Mon, 15 Dec 2008)
New Revision: 11579

Modified:
   trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js
Log:
repaired accidentally removed model def.

Modified: trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js	2008-12-15 16:30:54 UTC (rev 11578)
+++ trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js	2008-12-15 16:31:33 UTC (rev 11579)
@@ -55,6 +55,8 @@
     function load(po) {
         lineitems = po.lineitems();
         var store = new dojo.data.ItemFileReadStore({data:jub.toStoreData(lineitems)});
+        var model = new dojox.grid.data.DojoData(
+            null, store, {rowsPerPage: 20, clientSort: true, query:{id:'*'}}); 
         JUBGrid.populate(liGrid, model, lineitems)
     }
 



More information about the open-ils-commits mailing list