includes/clientside/static/editor.js
changeset 705 85943d71c214
parent 701 dd80cde96a6c
child 762 e346a3106a4e
--- a/includes/clientside/static/editor.js	Sat Aug 23 16:03:32 2008 -0400
+++ b/includes/clientside/static/editor.js	Sun Aug 24 12:41:05 2008 -0400
@@ -162,7 +162,7 @@
   }
   
   // Draft notice
-  if ( response.have_draft )
+  if ( response.have_draft && !readonly )
   {
     var dn = document.createElement('div');
     dn.className = 'warning-box';