[freeside-commits] freeside/rt/share/html/Elements SelectStatus, 1.1.1.2, 1.1.1.2.2.1

Mark Wells mark at wavetail.420.am
Tue Aug 23 14:46:36 PDT 2011


Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv19603/rt/share/html/Elements

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	SelectStatus 
Log Message:
RT future ticket resolve, #13853

Index: SelectStatus
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/SelectStatus,v
retrieving revision 1.1.1.2
retrieving revision 1.1.1.2.2.1
diff -u -w -d -r1.1.1.2 -r1.1.1.2.2.1
--- SelectStatus	17 Feb 2011 00:25:14 -0000	1.1.1.2
+++ SelectStatus	23 Aug 2011 21:46:34 -0000	1.1.1.2.2.1
@@ -45,7 +45,8 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
-<select name="<%$Name%>">
+% my $onchange_attr = $onchange ? " onchange=\"$onchange\"" : '';
+<select id="<%$Name%>" name="<%$Name%>"<% $onchange_attr |n%>>
 %if ($DefaultValue) {
 <option value=""<% !$Default && qq[ selected="selected"] |n %>><%$DefaultLabel%></option>
 %}
@@ -64,4 +65,5 @@
 $SkipDeleted => 0
 $DefaultValue => 1
 $DefaultLabel => "-"
+$onchange => ''
 </%ARGS>



More information about the freeside-commits mailing list