Allow override of TITLE_LAST_COPY in volume delete. user/dyrcona/lp873416
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 13 Oct 2011 16:07:13 +0000 (12:07 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 13 Oct 2011 16:26:34 +0000 (12:26 -0400)
Add TITLE_LAST_COPY event id (1208), to overridable events list
when deleting volumes in circ/copy_status.js and cat/copy_broswer.js.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/xul/staff_client/server/cat/copy_browser.js
Open-ILS/xul/staff_client/server/circ/copy_status.js

index bb9b632..0846f97 100644 (file)
@@ -708,6 +708,7 @@ cat.copy_browser.prototype = {
                                                 {
                                                     'title' : document.getElementById('catStrings').getString('staff.cat.copy_browser.delete_volume.override'),
                                                     'overridable_events' : [
+                                                    1208 /* TITLE_LAST_COPY */
                                                     ]
                                                 }
                                             );
index 510d13c..49d81b5 100644 (file)
@@ -882,6 +882,7 @@ circ.copy_status.prototype = {
                                             {
                                                 'title' : document.getElementById('circStrings').getString('staff.circ.copy_status.delete_volumes.override'),
                                                 'overridable_events' : [
+                                                1208 /* TITLE_LAST_COPY */
                                                 ]
                                             }
                                         );