don't force old subscriptions value when posting
parent
6c297c4097
commit
d366a7bbb5
|
@ -28,8 +28,11 @@ sub formbuilder_setup (@) {
|
||||||
my $session=$params{session};
|
my $session=$params{session};
|
||||||
$form->field(name => "subscriptions", size => 50,
|
$form->field(name => "subscriptions", size => 50,
|
||||||
fieldset => "preferences",
|
fieldset => "preferences",
|
||||||
comment => "(".htmllink("", "", "ikiwiki/PageSpec", noimageinline => 1).")",
|
comment => "(".htmllink("", "", "ikiwiki/PageSpec", noimageinline => 1).")");
|
||||||
|
if (! $form->submitted) {
|
||||||
|
$form->field(name => "subscriptions", force => 1,
|
||||||
value => getsubscriptions($session->param("name")));
|
value => getsubscriptions($session->param("name")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub formbuilder (@) {
|
sub formbuilder (@) {
|
||||||
|
|
Loading…
Reference in New Issue