includes/clientside/static/editor.js
changeset 734 904fbf10f112
parent 705 85943d71c214
child 762 e346a3106a4e
--- a/includes/clientside/static/editor.js	Mon Sep 29 08:24:26 2008 -0400
+++ b/includes/clientside/static/editor.js	Sun Nov 09 14:22:03 2008 -0500
@@ -162,7 +162,7 @@
   }
   
   // Draft notice
-  if ( response.have_draft )
+  if ( response.have_draft && !readonly )
   {
     var dn = document.createElement('div');
     dn.className = 'warning-box';