From: Bill Erickson Date: Wed, 29 Feb 2012 21:06:55 +0000 (-0500) Subject: Acq + Vandelay : exit early for 'load bibs and items' in picklist X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=07041e84572200111e28795ac10247ace36dc712;p=evergreen%2Fjoelewis.git 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 Signed-off-by: Ben Shum --- 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 fc7e2e6aec..f2585a166e 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 @@ -2123,6 +2123,7 @@ function AcqLiTable() { }; this.showAssetCreator = function(onAssetsCreated) { + if(!this.isPO) return; this.show('asset-creator'); if(!this.vlAgent.loaded) this.vlAgent.init(); @@ -2132,7 +2133,6 @@ function AcqLiTable() { } this.createAssets = function(onAssetsCreated) { - if(!this.isPO) return; this.show('acq-lit-progress-numbers'); var self = this; fieldmapper.standardRequest(