includes/clientside/static/editor.js
changeset 1102 faef5e62e1e0
parent 1068 4bcefa85649c
child 1227 bdac73ed481e
equal deleted inserted replaced
1080:6358f769ecb1 1102:faef5e62e1e0
   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   {