Project

General

Profile

Bug #16991 » konqueror_fix_3.patch

Administrator Admin, 2007-02-20 12:33

View differences:

typo3/tree.js (working copy)
// without waiting for the response
if (!isExpand) {
obj.parentNode.getElementsByTagName('ul')[0].remove();
var pm = document.getElementsByClassName('pm', obj.parentNode)[0];
var pm = Selector.findChildElements(obj.parentNode, ['.pm'])[0]; // Getting pm object by CSS selector (because document.getElementsByClassName() doesn't seem to work on Konqueror)
pm.onclick = null;
pm.firstChild.src = pm.firstChild.src.replace('minus', 'plus');
} else {
(2-2/3)