TITLE_LAST_COPY override for batch copy delete in bucket interface. Need to test
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Jul 2009 15:42:57 +0000 (15:42 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Jul 2009 15:42:57 +0000 (15:42 +0000)
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

index df99a44..60a02b5 100644 (file)
@@ -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 */ :