includes/clientside/static/editor.js
changeset 1112 679916c80599
parent 1102 faef5e62e1e0
child 1227 bdac73ed481e
--- a/includes/clientside/static/editor.js	Sun Aug 30 00:05:33 2009 -0400
+++ b/includes/clientside/static/editor.js	Fri Sep 11 09:57:42 2009 -0400
@@ -441,7 +441,8 @@
   form.appendChild(preview_anchor);
   form.appendChild(preview_container);
   form.appendChild(ta_wrapper);
-  form.appendChild(tblholder);
+  if ( !readonly )
+    form.appendChild(tblholder);
   form.innerHTML += '<div style="margin: 10px 0 0 0;">' + toolbar + '</div>';
   edcon.appendChild(form);