]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable pre-selection of main toolbar dropboxes for now
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 29 Sep 2006 07:57:41 +0000 (08:57 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 29 Sep 2006 07:57:41 +0000 (08:57 +0100)
feedlist.js
tt-rss.js

index 5ee3acd9f2f4301c5c1c530f7769236cb8869686..e3c2c8c54555cbda56bfd2a72a37847e26bcc2ce 100644 (file)
@@ -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);
index 688a9c8094384c5944817e3554a52fd8de402294..deed09c5307a70fa4f4e014fdd0cedbf6b688e92 100644 (file)
--- 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;