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

View 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 = "";