includes/clientside/static/editor.js
changeset 1112 679916c80599
parent 1102 faef5e62e1e0
child 1227 bdac73ed481e
equal deleted inserted replaced
1111:8fae8fb3cbb1 1112:679916c80599
   439     form.appendChild(oldrev_box);
   439     form.appendChild(oldrev_box);
   440   
   440   
   441   form.appendChild(preview_anchor);
   441   form.appendChild(preview_anchor);
   442   form.appendChild(preview_container);
   442   form.appendChild(preview_container);
   443   form.appendChild(ta_wrapper);
   443   form.appendChild(ta_wrapper);
   444   form.appendChild(tblholder);
   444   if ( !readonly )
       
   445     form.appendChild(tblholder);
   445   form.innerHTML += '<div style="margin: 10px 0 0 0;">' + toolbar + '</div>';
   446   form.innerHTML += '<div style="margin: 10px 0 0 0;">' + toolbar + '</div>';
   446   edcon.appendChild(form);
   447   edcon.appendChild(form);
   447   
   448   
   448   if ( response.edit_notice && !readonly )
   449   if ( response.edit_notice && !readonly )
   449   {
   450   {