[open-ils-commits] r10024 - trunk/Open-ILS/xul/staff_client/chrome/content/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Jul 13 20:35:15 EDT 2008


Author: phasefx
Date: 2008-07-13 20:35:15 -0400 (Sun, 13 Jul 2008)
New Revision: 10024

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
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: trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js	2008-07-14 00:34:09 UTC (rev 10023)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js	2008-07-14 00:35:15 UTC (rev 10024)
@@ -78,6 +78,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 {



More information about the open-ils-commits mailing list