From a7d3e60d35681a313d9970e63c9315e2861e03c9 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 29 Feb 2012 16:06:55 -0500 Subject: [PATCH] Acq + Vandelay : exit early for 'load bibs and items' in picklist The ACQ UI does not support loading bibs and items directly from the picklist interface. If the user selects "load bibs and items" from the picklist page they will be presented with the vandelay options, but the actual upload/merge/etc will not do anything. This change prevents the vandelay options from showing in this case. Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 734bf2beee..1f22340eb2 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -2109,6 +2109,7 @@ function AcqLiTable() { }; this.showAssetCreator = function(onAssetsCreated) { + if(!this.isPO) return; this.show('asset-creator'); if(!this.vlAgent.loaded) this.vlAgent.init(); @@ -2118,7 +2119,6 @@ function AcqLiTable() { } this.createAssets = function(onAssetsCreated) { - if(!this.isPO) return; this.show('acq-lit-progress-numbers'); var self = this; fieldmapper.standardRequest( -- 2.11.0