From 37794afa3eff7fa01f7dce7f1c411d9997dc1060 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 5 Nov 2012 09:22:55 -0500 Subject: [PATCH] LP1051112 - Display lineitem commands menu on empty picklists Ensure that the lineitem commands drop-down menu appears even when the picklist is empty. Previously, the commands were not displayed until the first lineitem was retrieved. For empty picklists, of course, there will be no first lineitem. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- Open-ILS/web/js/ui/default/acq/picklist/view.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/web/js/ui/default/acq/picklist/view.js b/Open-ILS/web/js/ui/default/acq/picklist/view.js index 818fb6e21f..f44f743c58 100644 --- a/Open-ILS/web/js/ui/default/acq/picklist/view.js +++ b/Open-ILS/web/js/ui/default/acq/picklist/view.js @@ -106,6 +106,9 @@ function loadLIs() { liTable.addLineitem(li); liTable.show('list'); } + }, + oncomplete : function() { + liTable.show('list'); } } ); -- 2.43.2