]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix: enable toolbar form before viewing feed for the first time
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 19 Jun 2007 13:03:47 +0000 (14:03 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 19 Jun 2007 13:03:47 +0000 (14:03 +0100)
feedlist.js

index 4635d9a645c595c0f1fe9e665d4bafb06a701a5b..ac852e9e9cad11276919e315edcbd65e12855983 100644 (file)
@@ -48,8 +48,10 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
 
                closeInfoBox();
 
-               var toolbar_query = Form.serialize("main_toolbar_form");
+               Form.enable("main_toolbar_form");
+
                var toolbar_form = document.forms["main_toolbar_form"];
+               var toolbar_query = Form.serialize("main_toolbar_form");
 
                if (document.forms["main_toolbar_form"].query) {
                        toolbar_form.query.value = "";