fixing disabled thingie
This commit is contained in:
parent
02598b6242
commit
2ebe2f82a6
1 changed files with 1 additions and 2 deletions
|
|
@ -771,9 +771,8 @@ sub getBadgeSelector {
|
|||
$output .= WebGUI::Form::selectBox($self->session,{
|
||||
name => 'badgeId',
|
||||
options => \%options,
|
||||
disabled => $addBadgeId ? 1 : 0,
|
||||
value => $addBadgeId,
|
||||
extras => 'onchange="swapBadgeInfo(this.value)" onkeyup="swapBadgeInfo(this.value)"'
|
||||
extras => 'onchange="swapBadgeInfo(this.value)" onkeyup="swapBadgeInfo(this.value)"'.($addBadgeId ? ' disabled="disabled"' : '')
|
||||
});
|
||||
|
||||
return $js.$output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue