X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select.html;h=cf1b3cc608ab0be1a5964b3626cb32000a867c08;hb=62e6a2b1c99086f3a9097f2d9d29fd8c414564b8;hp=f9d54f118962570f363febea14f7ab507c0bb29b;hpb=4cacb3fa439b56fc7c9a742b69ec3f6ffd660433;p=freeside.git
diff --git a/httemplate/elements/tr-select.html b/httemplate/elements/tr-select.html
index f9d54f118..cf1b3cc60 100644
--- a/httemplate/elements/tr-select.html
+++ b/httemplate/elements/tr-select.html
@@ -1,63 +1,22 @@
-<% include('tr-td-label.html', @_ ) %>
+% unless ( $opt{'js_only'} ) {
-
<% $style %>>
+ <% include('tr-td-label.html', %opt ) %>
- |
+
+% }
<%init>
my %opt = @_;
-my $onchange = $opt{'onchange'}
- ? 'onChange="'. $opt{'onchange'}. '(this)"'
- : '';
-
-my $labels = $opt{'option_labels'} || $opt{'labels'};
-
my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
-my $curr_value = $opt{'curr_value'};
-
my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : '';
%init>