includes/clientside/static/editor.js
changeset 417 b76ebe229548
parent 413 6607cd646d6d
child 419 b8b4e38825db
equal deleted inserted replaced
416:53fcdf309a82 417:b76ebe229548
   908         }
   908         }
   909         
   909         
   910         $('ajaxEditArea').setContent(response.src);
   910         $('ajaxEditArea').setContent(response.src);
   911         $('ajaxEditArea').object.used_draft = true;
   911         $('ajaxEditArea').object.used_draft = true;
   912         
   912         
       
   913         var es = document.getElementById('enano_editor_field_summary');
       
   914         if ( es.value == '' )
       
   915         {
       
   916           es.value = response.edit_summary;
       
   917         }
       
   918         
   913         var dn = $('ajax_edit_draft_notice').object;
   919         var dn = $('ajax_edit_draft_notice').object;
   914         dn.parentNode.removeChild(dn);
   920         dn.parentNode.removeChild(dn);
   915       }
   921       }
   916     }, true);
   922     }, true);
   917 }
   923 }