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,{
|
$output .= WebGUI::Form::selectBox($self->session,{
|
||||||
name => 'badgeId',
|
name => 'badgeId',
|
||||||
options => \%options,
|
options => \%options,
|
||||||
disabled => $addBadgeId ? 1 : 0,
|
|
||||||
value => $addBadgeId,
|
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;
|
return $js.$output;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue