From 87c0b3fef5354fa0399b0d2e7eaab7640a8cfa80 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 18 Dec 2008 21:29:52 +0000 Subject: [PATCH] disconnect on error, at least to clear the translator cache git-svn-id: svn://svn.open-ils.org/ILS/trunk@11622 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/conify/global/actor/org_unit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/web/conify/global/actor/org_unit.js b/Open-ILS/web/conify/global/actor/org_unit.js index 9a55d3e910..0cd98ad689 100644 --- a/Open-ILS/web/conify/global/actor/org_unit.js +++ b/Open-ILS/web/conify/global/actor/org_unit.js @@ -99,6 +99,7 @@ function save_org () { 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 @@ function save_org () { 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) { -- 2.11.0