diff options
author | Andrew Dolgov <[email protected]> | 2011-12-13 10:58:30 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-13 10:58:30 +0400 |
commit | 611efae712769e38e232478b484779d73af263db (patch) | |
tree | b1601297d750f42ca456f3b7de9673905fbc8d9c /js/viewfeed.js | |
parent | 1f203144a278f9765da40e20f09cc653d4d8276e (diff) |
add catchall backend class
Diffstat (limited to 'js/viewfeed.js')
-rw-r--r-- | js/viewfeed.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index b9b2a8e2b..d267c7693 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1770,7 +1770,7 @@ function getLastVisibleHeadlineId() { function openArticleInNewWindow(id) { toggleUnread(id, 0, false); - window.open("backend.php?op=article&id=" + id); + window.open("backend.php?op=article&method=redirect&id=" + id); } function isCdmMode() { @@ -2003,7 +2003,7 @@ function tweetArticle(id) { var d = new Date(); var ts = d.getTime(); - var w = window.open('backend.php?op=loading', 'ttrss_tweet', + var w = window.open('backend.php?op=backend&method=loading', 'ttrss_tweet', "status=0,toolbar=0,location=0,width=500,height=400,scrollbars=1,menubar=0"); new Ajax.Request("backend.php", { |