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

implement tiny-OOP routing

This commit is contained in:
Andrew Dolgov
2011-12-13 00:20:53 +04:00
parent 667a82727c
commit 3f3630529e
12 changed files with 1375 additions and 1408 deletions

View File

@@ -222,7 +222,7 @@ function timeout() {
}
function search() {
var query = "backend.php?op=dlg&id=search&param=" +
var query = "backend.php?op=dlg&method=search&param=" +
param_escape(getActiveFeedId() + ":" + activeFeedIsCat());
if (dijit.byId("searchDlg"))
@@ -436,7 +436,7 @@ function quickMenuGo(opid) {
dialog = new dijit.Dialog({
title: __("About..."),
style: "width: 400px",
href: "backend.php?op=dlg&id=about",
href: "backend.php?op=dlg&method=about",
});
dialog.show();
@@ -1078,7 +1078,7 @@ function scheduleFeedUpdate(id, is_cat) {
function newVersionDlg() {
try {
var query = "backend.php?op=dlg&id=newVersion";
var query = "backend.php?op=dlg&method=newVersion";
if (dijit.byId("newVersionDlg"))
dijit.byId("newVersionDlg").destroyRecursive();