summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-12-04 09:26:09 +0100
committerAndrew Dolgov <[email protected]>2006-12-04 09:26:09 +0100
commit1dc8dba07c9c57016a7bac4dd8ce3804024597b9 (patch)
tree7d557c820e526c73e522ec55394e5f4d2fc23d7a /feedlist.js
parentd4b4b9dece1ce4bb7d1bc56004c0dde318b8008f (diff)
add experimental operation history stack
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js
index 53fc4c6e4..d324c6a80 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -14,11 +14,16 @@ function feedlist_callback() {
}
}
-function viewfeed(feed, subop, is_cat, subop_param) {
+function viewfeed(feed, subop, is_cat, subop_param, skip_history) {
try {
enableHotkeys();
+ if (!skip_history) {
+ history_push('FEED:' + feed + ':' + subop + ':' + is_cat +
+ ':' + subop_param);
+ }
+
var toolbar_query = Form.serialize("main_toolbar_form");
var toolbar_form = document.forms["main_toolbar_form"];