Remove crufty code from HTMLForm that was never used.
More tests for Session/Icon.pm. Due to the way the code is written, this test will not test 100% of the code. Untestable conditions include not being able to find the toolbar directory in getToolbarOptions, and all code that sets a default pageUrl in any icon-specific method.
This commit is contained in:
parent
f3ab99bc02
commit
e434fb700c
2 changed files with 70 additions and 13 deletions
|
|
@ -244,13 +244,11 @@ The UI level for this field. See the WebGUI developer's site for details. Defaul
|
|||
=cut
|
||||
|
||||
sub raw {
|
||||
my ($output);
|
||||
my ($self, @p) = @_;
|
||||
my ($value, $uiLevel) = rearrange([qw(value uiLevel)], @p);
|
||||
if ($self->_uiLevelChecksOut($uiLevel)) {
|
||||
$self->{_data} .= $value;
|
||||
}
|
||||
$self->{_data} .= $output;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue