19,809
edits
(restoring old changes: "FELD" -> "COLUMN", prettytable to wikitable) |
(removing debugging alerts) |
||
| Line 96: | Line 96: | ||
} | } | ||
} | } | ||
function initButtons() { | function initButtons() { | ||
| Line 279: | Line 277: | ||
var allEditButtons = document.getElementById('toolbar'); | var allEditButtons = document.getElementById('toolbar'); | ||
if ( !allEditButtons ) { | if ( !allEditButtons ) { | ||
return false; | return false; | ||
} | } | ||
if (typeof editform !== 'undefined') { | if (typeof editform !== 'undefined') { | ||
if (!(window.editform = document.forms.editform)) { | if (!(window.editform = document.forms.editform)) { | ||
return false; | return false; | ||
} | } | ||
| Line 321: | Line 317: | ||
} | } | ||
allEditButtons = allEditButtons.getElementsByTagName('img'); | allEditButtons = allEditButtons.getElementsByTagName('img'); | ||
for (i = 0; i < allEditButtons.length; i++) { | for (i = 0; i < allEditButtons.length; i++) { | ||
if (allEditButtons[i].src.indexOf(url) != -1) { | if (allEditButtons[i].src.indexOf(url) != -1) { | ||
//if (allEditButtons[i].src === url) { | //if (allEditButtons[i].src === url) { // Cannot work because "url" does not start with "http://"; using indexOf() instead. -Iritscen | ||
// | |||
allEditButtons[i].onclick = newfunc; | allEditButtons[i].onclick = newfunc; | ||
} | } | ||
| Line 506: | Line 500: | ||
function XEBPopupTable(e) { | function XEBPopupTable(e) { | ||
var m = new GetPos(e || event); | var m = new GetPos(e || event); | ||