includes/clientside/static/editor.js
changeset 417 b76ebe229548
parent 413 6607cd646d6d
child 419 b8b4e38825db
--- a/includes/clientside/static/editor.js	Tue Feb 12 07:33:25 2008 -0500
+++ b/includes/clientside/static/editor.js	Tue Feb 12 07:38:52 2008 -0500
@@ -910,6 +910,12 @@
         $('ajaxEditArea').setContent(response.src);
         $('ajaxEditArea').object.used_draft = true;
         
+        var es = document.getElementById('enano_editor_field_summary');
+        if ( es.value == '' )
+        {
+          es.value = response.edit_summary;
+        }
+        
         var dn = $('ajax_edit_draft_notice').object;
         dn.parentNode.removeChild(dn);
       }