includes/clientside/static/editor.js
changeset 705 85943d71c214
parent 701 dd80cde96a6c
child 762 e346a3106a4e
equal deleted inserted replaced
704:077887be639d 705:85943d71c214
   160     ajaxEditorSave();
   160     ajaxEditorSave();
   161     return false;
   161     return false;
   162   }
   162   }
   163   
   163   
   164   // Draft notice
   164   // Draft notice
   165   if ( response.have_draft )
   165   if ( response.have_draft && !readonly )
   166   {
   166   {
   167     var dn = document.createElement('div');
   167     var dn = document.createElement('div');
   168     dn.className = 'warning-box';
   168     dn.className = 'warning-box';
   169     dn.id = 'ajax_edit_draft_notice';
   169     dn.id = 'ajax_edit_draft_notice';
   170     dn.innerHTML = '<b>' + $lang.get('editor_msg_have_draft_title') + '</b><br />';
   170     dn.innerHTML = '<b>' + $lang.get('editor_msg_have_draft_title') + '</b><br />';