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:
@@ -222,7 +222,7 @@ function timeout() {
|
||||
}
|
||||
|
||||
function search() {
|
||||
var query = "backend.php?op=dlg&id=search¶m=" +
|
||||
var query = "backend.php?op=dlg&method=search¶m=" +
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user