From 1dc8dba07c9c57016a7bac4dd8ce3804024597b9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Dec 2006 09:26:09 +0100 Subject: add experimental operation history stack --- feedlist.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'feedlist.js') 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"]; -- cgit v1.2.3-54-g00ecf