Skip to content
Snippets Groups Projects
Commit 5808bc54 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Fixed ssues on the "Page locked" screen

Ignore-this: 9d142450d439f26feb5cc0aefb5963da

darcs-hash:20091102104643-6e07b-c26aa2fd5f3899e81b0e7e0e45b3c1d7043e8571.gz
parent 4ca2a94b
No related branches found
No related tags found
No related merge requests found
......@@ -1218,7 +1218,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
$form->addElement(form_makeCloseTag('div'));
}
$form->addElement(form_makeCloseTag('div'));
if($conf['license']){
if($wr && $conf['license']){
$form->addElement(form_makeOpenTag('div', array('class'=>'license')));
$out = $lang['licenseok'];
$out .= '<a href="'.$license[$conf['license']]['url'].'" rel="license" class="urlextern"';
......
......@@ -276,6 +276,7 @@ function changeCheck(msg){
function initChangeCheck(msg){
var edit_text = document.getElementById('wiki__text');
if(!edit_text) return;
if(edit_text.readOnly) return;
// add change check for links
var links = document.getElementsByTagName('a');
......
......@@ -15,7 +15,7 @@ function initToolbar(tbid,edid,tb){
if(!toolbar) return;
var edit = $(edid);
if(!edit) return;
if(edit.readonly) return;
if(edit.readOnly) return;
//empty the toolbar area:
toolbar.innerHTML='';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment