2010-05-03 Steffen Kamper <info@sk-typo3.de>
+ * Fixed bug #7795: opendocs: documents are opened without pagetree (thanks to Stefan Galinski)
* Fixed bug #14144: Positioning of toolbar elements broken, especially in Safari (thanks to Stefan Galinski)
2010-05-03 Xavier Perseguers <typo3@perseguers.ch>
$entry = '
<tr id="opendocs-open-' . $table . '-' . $uid . '" class="opendoc' . $firstRow . '">
<td class="icon">' . $icon . '</td>
- <td class="label"><a href="' . htmlspecialchars($link) . '" target="content" onclick="TYPO3BackendOpenDocs.toggleMenu();">' . $label . '</a></td>
+ <td class="label"><a href="#" onclick="jump(unescape(\'' . htmlspecialchars($link) . '\'), \'web_list\', \'web\'); TYPO3BackendOpenDocs.toggleMenu(); return false;" target="content">' . $label . '</a></td>
<td class="close" onclick="return TYPO3BackendOpenDocs.closeDocument(\'' . $md5sum . '\');">' . $closeIcon . '</td>
</tr>';
} else {
$entry = '
<tr id="opendocs-recent-' . $table . '-' . $uid . '" class="recentdoc' . $firstRow . '">
<td class="icon">' . $icon . '</td>
- <td class="label" colspan="2"><a href="' . htmlspecialchars($link) . '" target="content" onclick="TYPO3BackendOpenDocs.toggleMenu();">' . $label . '</a></td>
+ <td class="label" colspan="2"><a href="#" onclick="jump(unescape(\'' . htmlspecialchars($link) . '\'), \'web_list\', \'web\'); TYPO3BackendOpenDocs.toggleMenu(); return false;" target="content">' . $label . '</a></td>
</tr>';
}