diff options
author | Andrew Dolgov <[email protected]> | 2020-12-04 18:55:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-12-04 18:55:53 +0300 |
commit | db3fcb861b8d8bfb793b6b1777e4e8c330ff00e4 (patch) | |
tree | 0750ca7c5174f0ebec89c989741b732367ffc41f /js/App.js | |
parent | 20af8d5caf288ea7326c46b9f81dc6027291b2fc (diff) |
viewfeed: reintroduce timestamps, fix debugging, fix some indents
Diffstat (limited to 'js/App.js')
-rw-r--r-- | js/App.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1037,7 +1037,8 @@ const App = { //window.open("backend.php?op=feeds&method=update_debugger&feed_id=" + Feeds.getActive()); /* global __csrf_token */ - App.postOpenWindow("backend.php", {op: "feeds", method: "update_debugger", feed_id: Feeds.getActive(), csrf_token: __csrf_token}); + App.postOpenWindow("backend.php", {op: "feeds", method: "update_debugger", + feed_id: Feeds.getActive(), csrf_token: __csrf_token}); } else { alert("You can't debug this kind of feed."); @@ -1045,7 +1046,10 @@ const App = { }; this.hotkey_actions["feed_debug_viewfeed"] = () => { - Feeds.open({feed: Feeds.getActive(), is_cat: Feeds.activeIsCat(), viewfeed_debug: true}); + //Feeds.open({feed: Feeds.getActive(), is_cat: Feeds.activeIsCat(), viewfeed_debug: true}); + + App.postOpenWindow("backend.php", {op: "feeds", method: "view", + feed: Feeds.getActive(), timestamps: 1, is_cat: Feeds.activeIsCat(), csrf_token: __csrf_token}); }; this.hotkey_actions["feed_edit"] = () => { |