Follow-up to #12381: Scheduler: BLOB database fields may not be NOT NULL
[Packages/TYPO3.CMS.git] / typo3 / class.webpagetree.php
index 92d9141..9ba5bba 100644 (file)
@@ -162,7 +162,7 @@ class webPageTree extends t3lib_browseTree {
                        }
                        unset($_params);
                }
-               
+
                $aOnClick = 'return jumpTo(\''.$this->getJumpToParam($row).'\',this,\''.$this->domIdPrefix.$this->getId($row).'\','.$bank.');';
                $CSM = '';
                if ($GLOBALS['TYPO3_CONF_VARS']['BE']['useOnContextMenuHandler'])       {
@@ -222,7 +222,7 @@ class webPageTree extends t3lib_browseTree {
                        // if this item is the start of a new level,
                        // then a new level <ul> is needed, but not in ajax mode
                        if($v['isFirst'] && !($doCollapse) && !($doExpand && $expandedPageUid == $uid)) {
-                               $itemHTML = '</div><ul>';
+                               $itemHTML = '<ul>';
                        }
 
                        // add CSS classes to the list item
@@ -232,10 +232,10 @@ class webPageTree extends t3lib_browseTree {
                        $itemHTML .='
                                <li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'><div class="treeLinkItem">'.
                                        $v['HTML'].
-                                       $this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."\n";
+                                       $this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."</div>\n";
 
 
-                       if(!$v['hasSub']) { $itemHTML .= '</div></li>'; }
+                       if(!$v['hasSub']) { $itemHTML .= '</li>'; }
 
                        // we have to remember if this is the last one
                        // on level X so the last child on level X+1 closes the <ul>-tag