[open-ils-commits] r13836 - branches/rel_1_6_0/Open-ILS/web/js/ui/default/acq/picklist (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 13 17:12:33 EDT 2009
Author: erickson
Date: 2009-08-13 17:12:27 -0400 (Thu, 13 Aug 2009)
New Revision: 13836
Modified:
branches/rel_1_6_0/Open-ILS/web/js/ui/default/acq/picklist/view_list.js
Log:
fixed some bugs in creating new picklists by name
Modified: branches/rel_1_6_0/Open-ILS/web/js/ui/default/acq/picklist/view_list.js
===================================================================
--- branches/rel_1_6_0/Open-ILS/web/js/ui/default/acq/picklist/view_list.js 2009-08-13 21:11:53 UTC (rev 13835)
+++ branches/rel_1_6_0/Open-ILS/web/js/ui/default/acq/picklist/view_list.js 2009-08-13 21:12:27 UTC (rev 13836)
@@ -53,11 +53,13 @@
['open-ils.acq', 'open-ils.acq.picklist.retrieve'],
{ async: true,
params: [openils.User.authtoken, plId,
- {flesh_lineitem_count:1, flesh_username:1}],
+ {flesh_lineitem_count:1, flesh_owner:1}],
oncomplete: function(r) {
- if(pl = openils.Util.readResponse(r))
+ if(pl = openils.Util.readResponse(r)) {
+ plCache[pl.id()] = pl;
plListGrid.store.newItem(acqpl.toStoreData([pl]).items[0]);
+ }
}
}
);
More information about the open-ils-commits
mailing list