From 5958aed013a96c38c14ca1489cb1e9d07f2753b4 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 13 Aug 2009 21:09:25 +0000 Subject: [PATCH] fixed some bugs in creating new picklists by name git-svn-id: svn://svn.open-ils.org/ILS/trunk@13834 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/acq/picklist/view_list.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/acq/picklist/view_list.js b/Open-ILS/web/js/ui/default/acq/picklist/view_list.js index 8e7ba88dc..740f2334d 100644 --- a/Open-ILS/web/js/ui/default/acq/picklist/view_list.js +++ b/Open-ILS/web/js/ui/default/acq/picklist/view_list.js @@ -53,11 +53,13 @@ function createPL(fields) { ['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]); + } } } ); -- 2.11.0