fix
This commit is contained in:
parent
f940fec130
commit
7428038ad6
1 changed files with 4 additions and 2 deletions
|
|
@ -769,11 +769,13 @@ sub getBadgeSelector {
|
|||
|
||||
%options = (%options,%{$badges});
|
||||
$output .= WebGUI::Form::selectBox($self->session,{
|
||||
name => 'badgeId',
|
||||
name => ($addBadgeId ? 'badgeIdWrong' : 'badgeId'),
|
||||
options => \%options,
|
||||
value => $addBadgeId,
|
||||
extras => 'onchange="swapBadgeInfo(this.value)" onkeyup="swapBadgeInfo(this.value)"'.($addBadgeId ? ' disabled="disabled"' : '')
|
||||
});
|
||||
}).($addBadgeId ? WebGUI::Form::hidden($self->session,{
|
||||
name => 'badgeId',value=>$badgeId
|
||||
}) : '');
|
||||
|
||||
return $js.$output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue