From: Thomas Berezansky <tsbere@mvlc.org> Date: Wed, 8 Jun 2011 18:07:48 +0000 (-0400) Subject: Replace instance of location.href X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e3692ad0e21cf67682b24b8c759cbe9b9b2f6794;p=evergreen%2Fmasslnc.git Replace instance of location.href xulG.set_tab populates xulG properly in new URL, location.href does not Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> --- diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index f927512340..784082527a 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -631,7 +631,7 @@ patron.display.prototype = { } else { error = js2JSON(E).substr(0,100); } - location.href = urls.XUL_PATRON_BARCODE_ENTRY + '?error=' + window.escape(error); + xulG.set_tab(urls.XUL_PATRON_BARCODE_ENTRY + '?error=' + window.escape(error),{},{}); } catch(F) { alert(F); }