From: Bill Erickson Date: Mon, 5 Nov 2012 14:22:55 +0000 (-0500) Subject: LP1051112 - Display lineitem commands menu on empty picklists X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=50483a39db90045150343cc6ee98365a947c9fc3;p=evergreen%2Fpines.git 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 --- 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'); } } );