From 151cbcd37321314a4ddd54ecf8db2fc0fe02c667 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 14 Jul 2008 00:33:05 +0000 Subject: [PATCH] Reset the MARC View, Holdings Maintenance, and View Holds interfaces on save in the MARC Editor. We can't reset the OPAC View in the same way without messing up navigation through OPAC events, so need to give that some thought. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@10022 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/cat/opac.xul | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul b/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul index 90d3407ebe..36d529b2da 100644 --- a/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul +++ b/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul @@ -112,6 +112,9 @@ 'func' : function (new_marcxml) { try { var r = g.network.simple_request('MARC_XML_RECORD_UPDATE', [ ses(), docid, new_marcxml ]); + marc_view_reset = true; + copy_browser_reset = true; + hold_browser_reset = true; if (typeof r.ilsevent != 'undefined') { throw(r); } else { @@ -235,7 +238,7 @@ 'url_prefix' : xulG.url_prefix, }; if (opac_url) { content_params.url = opac_url; } else { content_params.url = xulG.url_prefix( urls.browser ); } - browser_frame = bottom_pane.set_iframe( xulG.url_prefix(urls.XUL_BROWSER) + '?name=Catalog', {}, content_params); + browser_frame = bottom_pane.set_iframe( xulG.url_prefix(urls.XUL_BROWSER) + '?name=Catalog', {}, content_params); } catch(E) { g.error.sdump('D_ERROR','set_opac: ' + E); } -- 2.11.0