From fd98576c97b02f2a71050b3a318155516811d972 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Jun 2007 14:03:47 +0100 Subject: [PATCH] fix: enable toolbar form before viewing feed for the first time --- feedlist.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = "";