--- class.webpagetree.php.old Fri Mar 30 17:53:10 2007
+++ class.webpagetree.php Fri Mar 30 17:56:25 2007
@@ -211,11 +211,12 @@
if($v['isLast']) { $classAttr .= ($classAttr) ? ' last' : 'last'; }
$itemHTML .='
-
'.
+ '.
$v['HTML'].
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."\n";
+ $itemHTML .= '
';
if(!$v['hasSub']) { $itemHTML .= ''; }
// we have to remember if this is the last one
--- class.filelistfoldertree.php.old Fri Mar 30 17:53:30 2007
+++ class.filelistfoldertree.php Fri Mar 30 17:56:24 2007
@@ -182,11 +182,12 @@
if($v['isLast']) { $classAttr = ($classAttr) ? ' last' : 'last'; }
$itemHTML .='
- '.
+ '.
$v['HTML'].
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank']);
+ $itemHTML .= '
';
if(!$v['hasSub']) { $itemHTML .= "\n"; }
// we have to remember if this is the last one
--- tree.js.old Fri Mar 30 17:53:35 2007
+++ tree.js Fri Mar 30 17:53:59 2007
@@ -20,20 +20,15 @@
*
* This copyright notice MUST APPEAR in all copies of this script
*
-* TYPO3 SVN ID: $Id: tree.js 2227 2007-03-29 22:36:10Z mundaun $
+* TYPO3 SVN ID: $Id: tree.js 2200 2007-03-26 16:37:15Z ingmars $
*
***************************************************************/
// Call this function, refresh_nav(), from another script in the backend if you want
// to refresh the navigation frame (eg. after having changed a page title or moved pages etc.)
// See t3lib_BEfunc::getSetUpdateSignal()
- // please use the function in the "Tree" object for future implementations
function refresh_nav() { window.setTimeout('Tree.refresh();',0); }
- // Deprecated! Another JS function, for highlighting rows in the page tree, kept alive for backwards
- // compatibility. Please use the function in the "Tree" object for future implementations.
-function hilight_row(frameSetModule, highLightID) { Tree.highlightActiveItem(frameSetModule, highlightID); }
-
var Tree = {
thisScript: null,
@@ -52,9 +47,9 @@
// immediately collapse the subtree and change the plus to a minus when collapsing
// without waiting for the response
if (!isExpand) {
- var ul = obj.parentNode.getElementsByTagName('ul')[0];
- obj.parentNode.removeChild(ul); // no remove() directly because of IE 5.5
- var pm = Selector.findChildElements(obj.parentNode, ['.pm'])[0]; // Getting pm object by CSS selector (because document.getElementsByClassName() doesn't seem to work on Konqueror)
+ var ul = obj.parentNode.parentNode.getElementsByTagName('ul')[0];
+ obj.parentNode.parentNode.removeChild(ul); // no remove() directly because of IE 5.5
+ var pm = Selector.findChildElements(obj.parentNode.parentNode, ['.pm'])[0]; // Getting pm object by CSS selector (because document.getElementsByClassName() doesn't seem to work on Konqueror)
if (pm) {
pm.onclick = null;
Element.cleanWhitespace(pm);
@@ -72,7 +67,7 @@
if (!status) return this.refresh();
// the parent node needs to be overwritten, not the object
- $(obj.parentNode).replace(xhr.responseText);
+ $(obj.parentNode.parentNode).replace(xhr.responseText);
this.registerDragDropHandlers();
this.reSelectActiveItem();
}.bind(this)