From 9f10e1523022614c7725c987d01ea29dc9cfedbe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 29 Sep 2006 08:57:41 +0100 Subject: [PATCH] disable pre-selection of main toolbar dropboxes for now --- feedlist.js | 4 ++-- tt-rss.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/feedlist.js b/feedlist.js index 5ee3acd9..e3c2c8c5 100644 --- a/feedlist.js +++ b/feedlist.js @@ -26,11 +26,11 @@ function viewfeed(feed, subop, is_cat, subop_param) { toolbar_form.query.value = ""; } - storeInitParam("toolbar_limit", +/* storeInitParam("toolbar_limit", toolbar_form.limit[toolbar_form.limit.selectedIndex].value); storeInitParam("toolbar_view_mode", - toolbar_form.view_mode[toolbar_form.view_mode.selectedIndex].value); + toolbar_form.view_mode[toolbar_form.view_mode.selectedIndex].value); */ var query = "backend.php?op=viewfeed&feed=" + feed + "&" + toolbar_query + "&subop=" + param_escape(subop); diff --git a/tt-rss.js b/tt-rss.js index 688a9c80..deed09c5 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -393,8 +393,8 @@ function init_second_stage() { var tb = parent.document.forms["main_toolbar_form"]; - dropboxSelect(tb.view_mode, getInitParam("toolbar_view_mode")); - dropboxSelect(tb.limit, getInitParam("toolbar_limit")); +// dropboxSelect(tb.view_mode, getInitParam("toolbar_view_mode")); +// dropboxSelect(tb.limit, getInitParam("toolbar_limit")); daemon_enabled = getInitParam("daemon_enabled") == 1; daemon_refresh_only = getInitParam("daemon_refresh_only") == 1; -- 2.39.5