From: phasefx Date: Wed, 8 Jul 2009 15:42:57 +0000 (+0000) Subject: TITLE_LAST_COPY override for batch copy delete in bucket interface. Need to test X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=957e6080bc4d6f9ff29574ff02e761a33018c321;p=evergreen%2Ftadl.git TITLE_LAST_COPY override for batch copy delete in bucket interface. Need to test git-svn-id: svn://svn.open-ils.org/ILS/trunk@13524 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_buckets.js b/Open-ILS/xul/staff_client/server/cat/copy_buckets.js index df99a443de..60a02b50bc 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_buckets.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_buckets.js @@ -488,7 +488,17 @@ cat.copy_buckets.prototype = { copies[i].isdeleted(1); } - var robj = obj.network.simple_request('FM_ACP_FLESHED_BATCH_UPDATE',[ ses(), copies, true]); + var robj = obj.network.simple_request( + 'FM_ACP_FLESHED_BATCH_UPDATE', + [ ses(), copies, true], + null, // no callback + { + 'title' : document.getElementById('catStrings').getString('staff.cat.copy_buckets.batch.error'), + 'overridable_events' : [ + 1208 /* TITLE_LAST_COPY */ + ] + } + ); if (typeof robj.ilsevent != 'undefined') { switch(Number(robj.ilsevent)) { case 1227 /* COPY_DELETE_WARNING */ :