[open-ils-commits] r11622 - trunk/Open-ILS/web/conify/global/actor

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 18 16:29:56 EST 2008


Author: miker
Date: 2008-12-18 16:29:52 -0500 (Thu, 18 Dec 2008)
New Revision: 11622

Modified:
   trunk/Open-ILS/web/conify/global/actor/org_unit.js
Log:
disconnect on error, at least to clear the translator cache

Modified: trunk/Open-ILS/web/conify/global/actor/org_unit.js
===================================================================
--- trunk/Open-ILS/web/conify/global/actor/org_unit.js	2008-12-18 21:26:03 UTC (rev 11621)
+++ trunk/Open-ILS/web/conify/global/actor/org_unit.js	2008-12-18 21:29:52 UTC (rev 11622)
@@ -99,6 +99,7 @@
 		onerror : function (r) {
 			highlighter.editor_pane.red.play();
 			status_update( dojo.string.substitute( aou_strings.ERROR_SAVING_DATA, [ou_list_store.getValue( current_ou, 'name' )] ) );
+            pCRUD.disconnect();
             throw 'update error';
 		},
 		oncomplete : function (r) {
@@ -121,6 +122,7 @@
 		onerror : function (r) {
 			highlighter.editor_pane.red.play();
 			status_update( dojo.string.substitute( aou_strings.ERROR_SAVING_DATA, [ou_list_store.getValue( current_ou, 'name' )] ) );
+            pCRUD.disconnect();
             throw 'begin error';
 		},
 		oncomplete : function (r) {



More information about the open-ils-commits mailing list