X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fhtml%2FWidgets%2FSelectionBox;h=c58a0a1a18ebad29697e64ba2013da4315444d65;hp=910b20b2557610f4d41a489bbd59c03f53d8937e;hb=24548f7cf666bac02335d0bc74f81251c7b4ab50;hpb=ef20b2b6b1feb47ad02b5ff7525f1a0fd11d0fa4 diff --git a/rt/html/Widgets/SelectionBox b/rt/html/Widgets/SelectionBox index 910b20b25..c58a0a1a1 100644 --- a/rt/html/Widgets/SelectionBox +++ b/rt/html/Widgets/SelectionBox @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -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'}) {