Taku YASUI - 2007-12-13

Logged In: YES
user_id=131241
Originator: NO

You can fix this to send firehose.pl instead of ajax.pl.

The template "fhadvprefpane, misc, default" has following line:

<form method="POST" action="[% env.script_name %]"><div>

We think "env.script_name" is replaced by "/firehose.pl" normally.
But this template is used by ajax.pl, so it is replaced by "/ajax.pl".
Threfore, we have gone to "/ajax.pl" when pushed button "restore to defaults".

Apply following patch to fix this problem.

--- fhadvprefpane;misc;default 2007-11-09 15:58:28.000000000 +0900
+++ fhadvprefpane;misc;default.new 2007-12-13 16:21:21.000000000 +0900
@@ -44,7 +44,7 @@
<input type="checkbox" value="1" name="firehose_usermode" onchange="firehose_set_options('firehose_usermode', this.checked)" [% constants.markup_checked_attribute IF options.firehose_usermode || user.firehose_usermode %]> User Mode
[% END %]
<div align="right">
-<form method="POST" action="[% env.script_name %]"><div>
+<form method="POST" action="/firehose.pl"><div>
<input type="hidden" name="fhfilter" value="">
<input type="hidden" name="color" value="indigo">
<input type="hidden" name="orderby" value="createtime">

Thanks,