[freeside-commits] freeside/httemplate/elements select-table.html, 1.17.2.1, 1.17.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Mar 1 14:00:36 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv28257/httemplate/elements
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.17.2.1
retrieving revision 1.17.2.2
diff -u -w -d -r1.17.2.1 -r1.17.2.2
--- select-table.html 1 Mar 2010 19:29:20 -0000 1.17.2.1
+++ select-table.html 1 Mar 2010 22:00:34 -0000 1.17.2.2
@@ -89,7 +89,7 @@
% {
% my $recvalue = $record->$key();
<OPTION VALUE="<% $recvalue %>"
- <% ref($value) && $value->{$recvalue} || $value == $recvalue
+ <% ref($value) && $value->{$recvalue} || $value && $value eq $recvalue # not == because of value_col
? ' SELECTED' : ''
%>
><% $opt{'label_showkey'} ? "$recvalue: " : '' %>
More information about the freeside-commits
mailing list