projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding export to read mailbox status information, RT#15987
[freeside.git]
/
httemplate
/
elements
/
select-table.html
diff --git
a/httemplate/elements/select-table.html
b/httemplate/elements/select-table.html
index
772f0c6
..
c0dde74
100644
(file)
--- a/
httemplate/elements/select-table.html
+++ b/
httemplate/elements/select-table.html
@@
-94,7
+94,7
@@
Example:
% {
% my $recvalue = $record->$key();
<OPTION VALUE="<% $recvalue %>"
% {
% 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'} } ) {
? ' SELECTED' : ''
%>
% foreach my $att ( @{ $opt{'extra_option_attributes'} } ) {
@@
-124,7
+124,7
@@
Example:
my( %opt ) = @_;
my( %opt ) = @_;
-warn "elements/select-table.html: \n". Dumper(%opt)
+warn "elements/select-table.html: \n". Dumper(
\
%opt)
if exists $opt{debug} && $opt{debug};
$opt{'extra_option_attributes'} ||= [];
if exists $opt{debug} && $opt{debug};
$opt{'extra_option_attributes'} ||= [];