fix: enable toolbar form before viewing feed for the first time

This commit is contained in:
Andrew Dolgov 2007-06-19 14:03:47 +01:00
parent bc60fda3cf
commit fd98576c97
1 changed files with 3 additions and 1 deletions

View File

@ -48,8 +48,10 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
closeInfoBox(); closeInfoBox();
var toolbar_query = Form.serialize("main_toolbar_form"); Form.enable("main_toolbar_form");
var toolbar_form = document.forms["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) { if (document.forms["main_toolbar_form"].query) {
toolbar_form.query.value = ""; toolbar_form.query.value = "";