[open-ils-commits] r13834 - trunk/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:09:31 EDT 2009
Author: erickson
Date: 2009-08-13 17:09:25 -0400 (Thu, 13 Aug 2009)
New Revision: 13834
Modified:
trunk/Open-ILS/web/js/ui/default/acq/picklist/view_list.js
Log:
fixed some bugs in creating new picklists by name
Modified: trunk/Open-ILS/web/js/ui/default/acq/picklist/view_list.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/picklist/view_list.js 2009-08-13 21:08:55 UTC (rev 13833)
+++ trunk/Open-ILS/web/js/ui/default/acq/picklist/view_list.js 2009-08-13 21:09:25 UTC (rev 13834)
@@ -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