From: Andrew Dolgov Date: Tue, 19 Jun 2007 13:03:47 +0000 (+0100) Subject: fix: enable toolbar form before viewing feed for the first time X-Git-Tag: 1.2.12~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fd98576c97b02f2a71050b3a318155516811d972;p=tt-rss.git fix: enable toolbar form before viewing feed for the first time --- diff --git a/feedlist.js b/feedlist.js index 4635d9a6..ac852e9e 100644 --- a/feedlist.js +++ b/feedlist.js @@ -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 = "";