From 1340226719f8cbaa6bfa25dbf28c2ed1202b023b Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 29 Oct 2014 17:10:40 -0400 Subject: [PATCH] Script to add notes is called twice, not sure why but added a check to both accounts Cross-port: ebc59e3 --- Open-ILS/xul/staff_client/server/cat/update_items.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/update_items.js b/Open-ILS/xul/staff_client/server/cat/update_items.js index 5603768b45..3332d7fff8 100644 --- a/Open-ILS/xul/staff_client/server/cat/update_items.js +++ b/Open-ILS/xul/staff_client/server/cat/update_items.js @@ -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( -- 2.11.0