fix article header open in new tab button
This commit is contained in:
parent
439caa8b93
commit
8a6702ad7a
|
@ -4634,7 +4634,7 @@
|
||||||
|
|
||||||
print "<img src=\"".theme_image($link, 'images/art-zoom.png')."\"
|
print "<img src=\"".theme_image($link, 'images/art-zoom.png')."\"
|
||||||
class='tagsPic' style=\"cursor : pointer\"
|
class='tagsPic' style=\"cursor : pointer\"
|
||||||
onclick=\"zoomToArticle($id)\"
|
onclick=\"zoomToArticle(event, $id)\"
|
||||||
alt='Zoom' title='".__('Open article in new tab')."'>";
|
alt='Zoom' title='".__('Open article in new tab')."'>";
|
||||||
|
|
||||||
$note_escaped = htmlspecialchars($line['note'], ENT_QUOTES);
|
$note_escaped = htmlspecialchars($line['note'], ENT_QUOTES);
|
||||||
|
@ -5241,7 +5241,7 @@
|
||||||
print "<div style=\"float : right\">";
|
print "<div style=\"float : right\">";
|
||||||
|
|
||||||
print "<img src=\"images/art-zoom.png\"
|
print "<img src=\"images/art-zoom.png\"
|
||||||
onclick=\"zoomToArticle($id)\"
|
onclick=\"zoomToArticle(event, $id)\"
|
||||||
style=\"cursor : pointer\"
|
style=\"cursor : pointer\"
|
||||||
alt='Zoom'
|
alt='Zoom'
|
||||||
title='".__('Open article in new tab')."'>";
|
title='".__('Open article in new tab')."'>";
|
||||||
|
|
|
@ -1724,6 +1724,7 @@ function zoomToArticle(event, id) {
|
||||||
return dijit.byId("content-tabs").selectChild(dijit.byId("ATAB-" + id));
|
return dijit.byId("content-tabs").selectChild(dijit.byId("ATAB-" + id));
|
||||||
|
|
||||||
if (cached_article) {
|
if (cached_article) {
|
||||||
|
closeArticlePanel();
|
||||||
|
|
||||||
var article_pane = new dijit.layout.ContentPane({
|
var article_pane = new dijit.layout.ContentPane({
|
||||||
title: __("Loading...") , content: cached_article,
|
title: __("Loading...") , content: cached_article,
|
||||||
|
|
Loading…
Reference in New Issue