LP1282277 & LP1282286 Double call to MARC edit save fixed user/ldw/LP1282277_LP1282286_Double_Bib_Error
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Mon, 7 Jul 2014 20:55:05 +0000 (13:55 -0700)
committerLiam Whalen <liam.whalen@bc.libraries.coop>
Tue, 8 Jul 2014 00:44:43 +0000 (17:44 -0700)
The code currently calls the MARC edit save feature twice due to a copy
and paste error.  This commit removes the duplicate call to save.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Open-ILS/xul/staff_client/server/cat/marcedit.js

index b6dd28f..691eeaa 100644 (file)
@@ -1216,7 +1216,6 @@ function fastItemAdd_attempt(doc_id) {
 
 function save_attempt(xml_string) {
     try {
-        var result = window.xulG.save.func( xml_string );
         var tabs = window.parent.parent.document.getElementById('main_tabs');
         var idx = tabs.selectedIndex;
         var tab = tabs.childNodes[idx];