includes/clientside/static/editor.js
changeset 1311 a228f7e8fb15
parent 1307 5d9f6ecf748e
child 1316 3df4818b99bf
--- a/includes/clientside/static/editor.js	Mon Nov 15 16:58:05 2010 -0500
+++ b/includes/clientside/static/editor.js	Mon Nov 15 19:21:40 2010 -0500
@@ -879,12 +879,19 @@
 					},
 					onclick: function()
 					{
+						console.info('setAjaxLoading');
 						setAjaxLoading();
-						ajaxEditorDestroyModalWindow();
+						console.info('editor_open = false');
 						editor_open = false;
+						console.info('enableUnload');
 						enableUnload();
+						console.info('destroyMCE');
 						$dynano('ajaxEditArea').destroyMCE(false);
+						console.info('destroyModal()');
+						ajaxEditorDestroyModalWindow();
+						console.info('ajaxReset');
 						ajaxReset();
+						console.info('miniPromptDestroy');
 						miniPromptDestroy(this);
 						return false;
 					}