[open-ils-commits] r10022 - branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Jul 13 20:33:06 EDT 2008


Author: phasefx
Date: 2008-07-13 20:33:05 -0400 (Sun, 13 Jul 2008)
New Revision: 10022

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul
Log:
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.

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul	2008-07-13 02:09:13 UTC (rev 10021)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul	2008-07-14 00:33:05 UTC (rev 10022)
@@ -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);
 			}



More information about the open-ils-commits mailing list