From: phasefx Date: Mon, 14 Jul 2008 00:33:05 +0000 (+0000) Subject: Reset the MARC View, Holdings Maintenance, and View Holds interfaces on save in the... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=151cbcd37321314a4ddd54ecf8db2fc0fe02c667;p=Evergreen.git 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 --- 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); }