[freeside-commits] freeside/httemplate/elements select-table.html, 1.21, 1.22
Ivan,,,
ivan at wavetail.420.am
Mon Mar 1 14:00:27 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv28233/httemplate/elements
Modified Files:
select-table.html
Log Message:
fix up editing services w/manual select from inventory, RT#7010
Index: select-table.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-table.html,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -d -r1.21 -r1.22
--- select-table.html 1 Mar 2010 19:29:19 -0000 1.21
+++ select-table.html 1 Mar 2010 22:00:25 -0000 1.22
@@ -94,7 +94,7 @@
% {
% my $recvalue = $record->$key();
<OPTION VALUE="<% $recvalue %>"
- <% $opt{'all_selected'} || ref($value) && $value->{$recvalue} || $value == $recvalue
+ <% $opt{'all_selected'} || ref($value) && $value->{$recvalue} || $value && $value eq $recvalue # not == because of value_col
? ' SELECTED' : ''
%>
% foreach my $att ( @{ $opt{'extra_option_attributes'} } ) {
More information about the freeside-commits
mailing list