[Rt-commit] rt branch, 4.0/tweak-show-ticket-history-link, created. rt-4.0.2-26-gfaffc45

? sunnavy sunnavy at bestpractical.com
Thu Aug 25 03:29:21 EDT 2011


The branch, 4.0/tweak-show-ticket-history-link has been created
        at  faffc458f734c67aa628a1faa7199f7fb45e6a85 (commit)

- Log -----------------------------------------------------------------
commit 3b5e546039d61e5bbae19c502a30d45fc3cf163c
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 25 08:21:24 2011 +0800

    show "Loading..." immediately to avoid double-click

diff --git a/share/html/Ticket/Elements/ClickToShowHistory b/share/html/Ticket/Elements/ClickToShowHistory
index 706cc00..57d963a 100644
--- a/share/html/Ticket/Elements/ClickToShowHistory
+++ b/share/html/Ticket/Elements/ClickToShowHistory
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 <div id="deferred_ticket_history">
     <& /Widgets/TitleBoxStart, title => 'History' &>
-        <a href="<% $url %>" onclick="jQuery('#deferred_ticket_history').load('<% $url |n %>'); return false;" >Show ticket history</a>
+        <a href="<% $url %>" onclick="jQuery('#deferred_ticket_history').text('<% loc('Loading...') %>').load('<% $url |n %>'); return false;" >Show ticket history</a>
     <& /Widgets/TitleBoxEnd &>
 </div>
 <%ARGS>

commit faffc458f734c67aa628a1faa7199f7fb45e6a85
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 25 08:22:12 2011 +0800

    loc "Show ticket history" link

diff --git a/share/html/Ticket/Elements/ClickToShowHistory b/share/html/Ticket/Elements/ClickToShowHistory
index 57d963a..792fa06 100644
--- a/share/html/Ticket/Elements/ClickToShowHistory
+++ b/share/html/Ticket/Elements/ClickToShowHistory
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 <div id="deferred_ticket_history">
     <& /Widgets/TitleBoxStart, title => 'History' &>
-        <a href="<% $url %>" onclick="jQuery('#deferred_ticket_history').text('<% loc('Loading...') %>').load('<% $url |n %>'); return false;" >Show ticket history</a>
+        <a href="<% $url %>" onclick="jQuery('#deferred_ticket_history').text('<% loc('Loading...') %>').load('<% $url |n %>'); return false;" ><% loc('Show ticket history') %></a>
     <& /Widgets/TitleBoxEnd &>
 </div>
 <%ARGS>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list