summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-12-04 18:55:53 +0300
committerAndrew Dolgov <[email protected]>2020-12-04 18:55:53 +0300
commitdb3fcb861b8d8bfb793b6b1777e4e8c330ff00e4 (patch)
tree0750ca7c5174f0ebec89c989741b732367ffc41f /js
parent20af8d5caf288ea7326c46b9f81dc6027291b2fc (diff)
viewfeed: reintroduce timestamps, fix debugging, fix some indents
Diffstat (limited to 'js')
-rw-r--r--js/App.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/App.js b/js/App.js
index 03103845e..31e812925 100644
--- a/js/App.js
+++ b/js/App.js
@@ -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"] = () => {