projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6def4d
)
fix broken tooltips, #25994
author
Mark Wells
<mark@freeside.biz>
Thu, 2 Jul 2015 01:11:49 +0000
(18:11 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 2 Jul 2015 01:11:49 +0000
(18:11 -0700)
httemplate/search/elements/search-html.html
patch
|
blob
|
history
diff --git
a/httemplate/search/elements/search-html.html
b/httemplate/search/elements/search-html.html
index
d8ab30a
..
1348995
100644
(file)
--- a/
httemplate/search/elements/search-html.html
+++ b/
httemplate/search/elements/search-html.html
@@
-349,6
+349,7
@@
$rows => []
% }
% my $i = 0; # for row striping # XXX CSS - nth-child
% }
% my $i = 0; # for row striping # XXX CSS - nth-child
+% my $id = 0;
% foreach my $row ( @$rows ) {
%
% my $rowstyle = '';
% foreach my $row ( @$rows ) {
%
% my $rowstyle = '';
@@
-490,11
+491,11
@@
$rows => []
%
% $tooltip = &{$tooltip}($row)
% if ref($tooltip) eq 'CODE';
%
% $tooltip = &{$tooltip}($row)
% if ref($tooltip) eq 'CODE';
-% $tooltip = qq!
title="<% $tooltip |h %>"!;
-%
#
qq! onmouseover="return overlib(!.
-%
#
$m->interp->apply_escapes($tooltip, 'h', 'js_string').
-%
#
qq!, FGCLASS, 'tooltip', REF, 'a$id', !.
-%
#
qq!REFC, 'LL', REFP, 'UL')"! if $tooltip;
+% $tooltip = qq!
id="a$id" !.
+% qq! onmouseover="return overlib(!.
+% $m->interp->apply_escapes($tooltip, 'h', 'js_string').
+% qq!, FGCLASS, 'tooltip', REF, 'a$id', !.
+% qq!REFC, 'LL', REFP, 'UL')"! if $tooltip;
%
% if ( $link ) {
% my( $url, $method ) = @{$link};
%
% if ( $link ) {
% my( $url, $method ) = @{$link};
@@
-511,6
+512,7
@@
$rows => []
% elsif ( $tooltip ) {
% $a = qq(<A $tooltip>);
% }
% elsif ( $tooltip ) {
% $a = qq(<A $tooltip>);
% }
+% $id++;
% }
%
% }
%