From 957e6080bc4d6f9ff29574ff02e761a33018c321 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 8 Jul 2009 15:42:57 +0000 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/cat/copy_buckets.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 */ : -- 2.11.0