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->raw('</table>');
|
||||
my $tags;
|
||||
foreach my $tag (@{$self->session->style->{_javascript}}) {
|
||||
$tags .= '<script';
|
||||
foreach my $name (keys %{$tag}) {
|
||||
$tags .= ' '.$name.'="'.$tag->{$name}.'"';
|
||||
}
|
||||
$tags .= '></script>'."\n";
|
||||
}
|
||||
my $tags = join "", values %{ $self->session->style->{_javascript} };
|
||||
$output .= $tags.$f->print;
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue