Script to add notes is called twice, not sure why but added a check to both accounts
authorBill Erickson <berickxx@gmail.com>
Wed, 29 Oct 2014 21:10:40 +0000 (17:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
    Cross-port: ebc59e3

Open-ILS/xul/staff_client/server/cat/update_items.js

index 5603768..3332d7f 100644 (file)
@@ -1193,8 +1193,8 @@ g.stash_and_close = function(param, keepOpen) {
             }
 
             try {
-
                 // If there are copy specific notes, persist them
+                // but only if the user has selected the "Save and Close" options
                 if (g.notes.length > 0 && !keepOpen){
 
                     r = g.network.simple_request(