[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-624-gf80f804
? sunnavy
sunnavy at bestpractical.com
Sun Aug 29 23:29:28 EDT 2010
The branch, 3.9-trunk has been updated
via f80f804696f74c6eda89db702a37e09c205db6c1 (commit)
from 587a27f42e80808907f1e02e808b5e91d1d7a8d8 (commit)
Summary of changes:
share/html/Ticket/Elements/Bookmark | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit f80f804696f74c6eda89db702a37e09c205db6c1
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Aug 30 11:30:42 2010 +0800
people may want multiple toggle-bookmark elements in one page, e.g. adding bottom tabs
diff --git a/share/html/Ticket/Elements/Bookmark b/share/html/Ticket/Elements/Bookmark
index cb905c1..42e67b6 100644
--- a/share/html/Ticket/Elements/Bookmark
+++ b/share/html/Ticket/Elements/Bookmark
@@ -81,9 +81,9 @@ if ( $Toggle ) {
$id
$Toggle => 0
</%ARGS>
-<span id="toggle-bookmark-<% $id %>">
+<span class="toggle-bookmark-<% $id %>">
% my $url = RT->Config->Get('WebPath') ."/Helpers/Toggle/TicketBookmark?id=". $id;
-<a align="right" href="<% $url %>" onclick="jQuery('#toggle-bookmark-<% $id |n%>').load('<% $url |n %>'); return false;" >
+<a align="right" href="<% $url %>" onclick="jQuery('.toggle-bookmark-<% $id |n%>').load('<% $url |n %>'); return false;" >
% if ( $bookmarked ) {
<img src="<% RT->Config->Get('WebPath') %>/NoAuth/images/star.gif" alt="<% loc('Remove Bookmark') %>" style="border-style: none" />
% } else {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list