From: Liam Whalen Date: Mon, 7 Jul 2014 20:55:05 +0000 (-0700) Subject: LP1282277 & LP1282286 Double call to MARC edit save fixed X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fldw%2FLP1282277_LP1282286_Double_Bib_Error;p=working%2FEvergreen.git LP1282277 & LP1282286 Double call to MARC edit save fixed 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 --- diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index b6dd28f777..691eeaacd8 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -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];