X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fhtml%2FWidgets%2FSelectionBox;fp=rt%2Fhtml%2FWidgets%2FSelectionBox;h=38ae7a04ab7e9cf62b6bae681777007dc4fdadfe;hb=8103c1fc1b2c27a6855feadf26f91b980a54bc52;hp=910b20b2557610f4d41a489bbd59c03f53d8937e;hpb=9c68254528b6f2c7d8c1921b452fa56064783782;p=freeside.git diff --git a/rt/html/Widgets/SelectionBox b/rt/html/Widgets/SelectionBox index 910b20b25..38ae7a04a 100644 --- a/rt/html/Widgets/SelectionBox +++ b/rt/html/Widgets/SelectionBox @@ -146,6 +146,10 @@ else { } } + if ($ARGS{clear}) { + $current = []; + } + $self->{Current} = $current; } @@ -201,9 +205,14 @@ selected="selected" ><% $self->{_item_map}{$_} %> % } +% unless ($ARGS{'NoArrows'}) { +% } +% if ($ARGS{'Clear'}) { + +% } % my $caption = ""; % unless ($self->{'AutoSave'}) {