1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

add catchall backend class

This commit is contained in:
Andrew Dolgov
2011-12-13 10:58:30 +04:00
parent 1f203144a2
commit 611efae712
5 changed files with 29 additions and 23 deletions

View File

@@ -805,7 +805,7 @@ function tweet_article(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", {

View File

@@ -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", {