diff --git a/functions.php b/functions.php
index db43487d..5f4a5522 100644
--- a/functions.php
+++ b/functions.php
@@ -5048,6 +5048,17 @@
print "
";
+ print "
";
+ print "
".__('View article')."
";
+ print "
".__('View in a new tab')."
";
+ print "
";
+ print "
".__('Open original article')."
";
+ print "
";
+
print "
$update_pic
";
print "
";
@@ -5088,6 +5099,8 @@
print "
";
+
+
print "
";
print "$updated_fmt";
print $score_pic;
diff --git a/tt-rss.js b/tt-rss.js
index b9be0671..56105167 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -251,6 +251,7 @@ function init() {
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.Dialog");
dojo.require("dijit.form.Button");
+ dojo.require("dijit.Menu");
dojo.require("dojo.data.ItemFileWriteStore");
dojo.require("dijit.Tree");
dojo.require("dijit.form.Select");
diff --git a/viewfeed.js b/viewfeed.js
index 148256dd..3914c757 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -1714,7 +1714,7 @@ function zoomToArticle(event, id) {
return dijit.byId("content-tabs").selectChild(dijit.byId("ATAB-" + id));
if (cached_article) {
- closeArticlePanel();
+ //closeArticlePanel();
var article_pane = new dijit.layout.ContentPane({
title: __("Loading...") , content: cached_article,
@@ -1742,7 +1742,7 @@ function zoomToArticle(event, id) {
notify('');
if (transport.responseXML) {
- closeArticlePanel();
+ //closeArticlePanel();
var article = transport.responseXML.getElementsByTagName("article")[0];
var content = article.firstChild.nodeValue;
@@ -2078,6 +2078,11 @@ function postClicked(event, id) {
}
}
+function hlOpenInNewTab(event, id) {
+ toggleUnread(id, 0, false);
+ zoomToArticle(event, id);
+}
+
function hlClicked(event, id) {
try {
@@ -2085,7 +2090,6 @@ function hlClicked(event, id) {
view(id);
return true;
} else {
- selectArticles('none');
toggleSelected(id);
toggleUnread(id, 0, false);
zoomToArticle(event, id);