From 22af12326989980dbed22c3bfcb73067d52804a8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 30 Mar 2013 19:55:52 +0400 Subject: make toggling combined mode work without reload --- js/tt-rss.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'js/tt-rss.js') diff --git a/js/tt-rss.js b/js/tt-rss.js index cb7c0ab2d..6c921c258 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -480,8 +480,13 @@ function init() { new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) { - window.location.reload(); - } }); + setInitParam("combined_display_mode", + !getInitParam("combined_display_mode")); + + closeArticlePanel(); + viewCurrentFeed(); + + } }); }; hotkey_actions["toggle_cdm_expanded"] = function() { notify_progress("Loading, please wait..."); -- cgit v1.2.3-54-g00ecf