Internal javascript style storage changed from array to hash.
This broke the getUserPrefsForm for dashboards. Fix this so that js'es are added again.
This commit is contained in:
parent
1a6c59230d
commit
7e2efccc86
1 changed files with 1 additions and 8 deletions
|
|
@ -707,14 +707,7 @@ sub www_getUserPrefsForm {
|
||||||
}
|
}
|
||||||
$f->submit({extras=>'className="nothing"'});
|
$f->submit({extras=>'className="nothing"'});
|
||||||
$f->raw('</table>');
|
$f->raw('</table>');
|
||||||
my $tags;
|
my $tags = join "", values %{ $self->session->style->{_javascript} };
|
||||||
foreach my $tag (@{$self->session->style->{_javascript}}) {
|
|
||||||
$tags .= '<script';
|
|
||||||
foreach my $name (keys %{$tag}) {
|
|
||||||
$tags .= ' '.$name.'="'.$tag->{$name}.'"';
|
|
||||||
}
|
|
||||||
$tags .= '></script>'."\n";
|
|
||||||
}
|
|
||||||
$output .= $tags.$f->print;
|
$output .= $tags.$f->print;
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue