Skip to content

Commit

Permalink
Don't try to disable a field that doesn't exist webmin/webmin#214
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 24, 2015
1 parent c0d0a29 commit 5915ef7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,7 @@ sub mailbox_inputs
@rwreps = sort { $a cmp $b } @rwreps;
@reps = sort { $a->{'rep'} cmp $b->{'rep'} } @reps;
local @inputs = ( $input_name."_rwreps_opts", $input_name."_rwreps_vals",
$input_name."_rwreps_add", $input_name."_rwreps_remove",
$input_name."_roreps_opts", $input_name."_roreps_vals",
$input_name."_roreps_add", $input_name."_roreps_remove", );
$input_name."_rwreps_add", $input_name."_rwreps_remove" );
local $hasuser = $suser || $new && $defs{'git'};
local $dis = $hasuser ? 0 : 1;
local $jsenable = &js_disable_inputs([ ], \@inputs, "onClick");
Expand Down

0 comments on commit 5915ef7

Please sign in to comment.