includes/clientside/static/editor.js
changeset 405 adb7f8de8ce1
parent 404 fb4f9e6f378f
child 407 35d94240a197
equal deleted inserted replaced
404:fb4f9e6f378f 405:adb7f8de8ce1
   396   // If the editor preference is tinymce, switch the editor to TinyMCE now
   396   // If the editor preference is tinymce, switch the editor to TinyMCE now
   397   if ( readCookie('enano_editor_mode') == 'tinymce' && allow_wysiwyg )
   397   if ( readCookie('enano_editor_mode') == 'tinymce' && allow_wysiwyg )
   398   {
   398   {
   399     $dynano('ajaxEditArea').switchToMCE();
   399     $dynano('ajaxEditArea').switchToMCE();
   400   }
   400   }
       
   401   $dynano('ajaxEditArea').object.focus();
   401 }
   402 }
   402 
   403 
   403 function ajaxEditorSave()
   404 function ajaxEditorSave()
   404 {
   405 {
   405   ajaxSetEditorLoading();
   406   ajaxSetEditorLoading();