includes/clientside/static/editor.js
changeset 1102 faef5e62e1e0
parent 1068 4bcefa85649c
child 1227 bdac73ed481e
--- a/includes/clientside/static/editor.js	Wed Aug 19 01:28:47 2009 -0400
+++ b/includes/clientside/static/editor.js	Tue Aug 25 01:43:11 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);