fixed #11220: Map asset badly broken
This commit is contained in:
parent
858c148b2e
commit
a182524fe9
2 changed files with 6 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
|||
- fixed #11218: LDAPS does not create users automatically
|
||||
- fixed #11205: DataTable borked in IE
|
||||
- fixed #11215: Los Angeles cannot be default timezone
|
||||
- fixed #11220: Map asset badly broken
|
||||
|
||||
7.8.4
|
||||
- Fixed a compatibility problem between WRE and new Spectre code.
|
||||
|
|
|
|||
|
|
@ -468,8 +468,12 @@ ENDHTML
|
|||
# Select box to choose a map point
|
||||
tie my %selectPointOptions, 'Tie::IxHash', (
|
||||
"" => '-- ' . $i18n->get('select a point'),
|
||||
map { $_->{assetId} => $_->{title} } sort { $a->{title} cmp $b->{title} } @{$var->{mapPoints}},
|
||||
);
|
||||
if ( $var->{mapPoints} ) {
|
||||
for my $point ( sort { $a->{title} cmp $b->{title} } @{$var->{mapPoints}} ) {
|
||||
$selectPointOptions{ $point->{assetId} } = $point->{title};
|
||||
}
|
||||
}
|
||||
$var->{ selectPoint }
|
||||
= WebGUI::Form::selectBox( $session, {
|
||||
extras => q{onchange="WebGUI.Map.focusOn(this.options[this.selectedIndex].value);"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue