summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-06-19 14:03:47 +0100
committerAndrew Dolgov <[email protected]>2007-06-19 14:03:47 +0100
commitfd98576c97b02f2a71050b3a318155516811d972 (patch)
treec4ddf231a14110925c4b10187574cc0665264ae2 /feedlist.js
parentbc60fda3cfc285b8cc1c7ce49ba66bcebaeee0e7 (diff)
fix: enable toolbar form before viewing feed for the first time
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js
index 4635d9a64..ac852e9e9 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 = "";