diff options
author | Andrew Dolgov <[email protected]> | 2011-12-13 00:20:53 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-13 00:20:53 +0400 |
commit | 3f3630529e1e7a0adf2ce0022596006cfcba0089 (patch) | |
tree | a106a22ca054baf8523f4d258b36a654909768c9 /js/tt-rss.js | |
parent | 667a82727cd95cc75e006b8509b6249e3f7f46e6 (diff) |
implement tiny-OOP routing
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 96147b3d3..38232bdfe 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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(); |