[open-ils-commits] [GIT] Evergreen ILS branch master updated. a8cb33092ae4e0424c904359e255ebdb7807881c

Evergreen Git git at git.evergreen-ils.org
Tue Jan 21 13:49:24 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  a8cb33092ae4e0424c904359e255ebdb7807881c (commit)
      from  cf3b5e062b11729904952fbc8a1c91a73960bf64 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a8cb33092ae4e0424c904359e255ebdb7807881c
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date:   Tue May 28 20:18:06 2013 +0300

    LP969312: No warning for Delete All from Catalog in Copy Buckets
    
    Add a confirmation dialog popup.
    
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Ben Shum <bshum at biblio.org>

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 3e470ed..1bf6212 100644
--- a/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
+++ b/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
@@ -461,6 +461,10 @@ cat.copy_buckets.prototype = {
                     'copy_buckets_batch_copy_delete' : [
                         ['command'],
                         function() {
+
+                            var conf = window.confirm($('catStrings').getString('staff.cat.copy_buckets.copy_buckets_batch_copy_delete.confirm'));
+                            if (!conf) return;
+
                             try {
                             
                                 obj.list2.select_all();
diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties b/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
index ef4772d..d694f2e 100644
--- a/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
+++ b/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
@@ -96,6 +96,7 @@ staff.cat.copy_buckets.menulist.render.retrieve_bucket=Retrieve shared bucket...
 staff.cat.copy_buckets.menulist.change_bucket.prompt=Enter bucket number:
 staff.cat.copy_buckets.menulist.change_bucket.undefined=Could not find a bucket with ID = %1$s
 staff.cat.copy_buckets.menulist.change_bucket.error=Error retrieving bucket.  Did you use a valid bucket id?
+staff.cat.copy_buckets.copy_buckets_batch_copy_delete.confirm=Are you sure you want to delete all items in bucket from catalog?
 staff.cat.copy_buckets.copy_buckets_add.error=Addition likely failed.
 staff.cat.copy_buckets.copy_buckets_sel_add.error=Addition likely failed.
 staff.cat.copy_buckets.copy_buckets_delete_item.error=Deletion likely failed.

-----------------------------------------------------------------------

Summary of changes:
 .../xul/staff_client/server/cat/copy_buckets.js    |    4 ++++
 .../server/locale/en-US/cat.properties             |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list