print "<img src=\"".theme_image($link, 'images/art-zoom.png')."\"
class='tagsPic' style=\"cursor : pointer\"
- onclick=\"zoomToArticle(event, $id)\"
+ onclick=\"postOpenInNewTab(event, $id)\"
alt='Zoom' title='".__('Open article in new tab')."'>";
$note_escaped = htmlspecialchars($line['note'], ENT_QUOTES);
dijit.byId("headlines-wrap-inner").addChild(
dijit.byId("content-insert"));
- var c = $("content-insert");
+ var c = dijit.byId("content-insert");
try {
- c.scrollTop = 0;
+ c.domNode.scrollTop = 0;
} catch (e) { };
- c.innerHTML = article;
+ c.attr('content', article);
correctHeadlinesOffset(getActiveArticleId());
if (!event.ctrlKey) {
return true;
} else {
- zoomToArticle(event, id);
+ postOpenInNewTab(event, id);
return false;
}
zoomToArticle(event, id);
}
+function postOpenInNewTab(event, id) {
+ closeArticlePanel(id);
+ zoomToArticle(event, id);
+}
+
function hlClicked(event, id) {
try {