[open-ils-commits] r9316 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/js/openils/acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 11 18:11:32 EDT 2008
Author: erickson
Date: 2008-04-11 17:33:56 -0400 (Fri, 11 Apr 2008)
New Revision: 9316
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/js/openils/acq/Picklist.js
Log:
David, let me know if the piklist grid works after this commit. i had some grids that were not happy with the default model query
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/js/openils/acq/Picklist.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/js/openils/acq/Picklist.js 2008-04-11 21:28:00 UTC (rev 9315)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/js/openils/acq/Picklist.js 2008-04-11 21:33:56 UTC (rev 9316)
@@ -30,9 +30,10 @@
req.oncomplete = function(r) {
var msg
gridRefs.grid.setModel(gridRefs.model);
+ gridRefs.model.query = {id:'*'};
while(msg = r.recv()) {
var jub = msg.content();
- alert(js2JSON(jub));
+ //alert(js2JSON(jub));
gridRefs.store.newItem({
id:jub.id(),
title:openils.acq.Picklist.find_attr(jub, "title", "lineitem_marc_attr_definition"),
More information about the open-ils-commits
mailing list