includes/clientside/static/editor.js
changeset 555 ac4c6a7f01d8
parent 550 685e839d934e
child 572 c196e8f336b9
--- a/includes/clientside/static/editor.js	Mon May 12 00:59:46 2008 -0400
+++ b/includes/clientside/static/editor.js	Fri May 16 12:22:26 2008 -0400
@@ -650,6 +650,7 @@
     {
       if ( ajax.readyState == 4 && ajax.status == 200 )
       {
+        ajaxUnSetEditorLoading();
         var response = String(ajax.responseText + '');
         if ( response.substr(0, 1) != '{' )
         {
@@ -727,7 +728,6 @@
           else
           {
             // The save was successful; reset flags and make another request for the new page content
-            ajaxUnSetEditorLoading();
             setAjaxLoading();
             editor_open = false;
             enableUnload();