[Rt-commit] rt branch, 4.0-trunk, updated. rt-3.9.7-1140-gfa0111e

Thomas Sibley trs at bestpractical.com
Thu Dec 30 12:57:14 EST 2010


The branch, 4.0-trunk has been updated
       via  fa0111eb3c3c3892e12b46963033e8d18ea12067 (commit)
      from  4e92d3f7760ec3cfbc5f6da8d1dbe4b1267de0a7 (commit)

Summary of changes:
 share/html/NoAuth/css/base/history-folding.css |    1 +
 share/html/NoAuth/js/history-folding.js        |    2 +-
 share/html/Ticket/Elements/FoldStanzaJS        |    4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit fa0111eb3c3c3892e12b46963033e8d18ea12067
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Dec 30 12:55:24 2010 -0500

    Indicate that "Show quoted text" is clickable with a pointer cursor
    
    Change the element to a <span> instead of a <div> so only the text is
    clickable, not the entire block which spills all the way across the
    page.

diff --git a/share/html/NoAuth/css/base/history-folding.css b/share/html/NoAuth/css/base/history-folding.css
index d1f1845..126b537 100644
--- a/share/html/NoAuth/css/base/history-folding.css
+++ b/share/html/NoAuth/css/base/history-folding.css
@@ -2,6 +2,7 @@
     color: #500050;
     font-size: 0.9em;
     padding: 0.2em;
+    cursor: pointer;
 }
 
 .message-stanza-folder.open {
diff --git a/share/html/NoAuth/js/history-folding.js b/share/html/NoAuth/js/history-folding.js
index 96a7929..a811487 100644
--- a/share/html/NoAuth/js/history-folding.js
+++ b/share/html/NoAuth/js/history-folding.js
@@ -1,5 +1,5 @@
 function fold_message_stanza(e,showmsg, hidemsg) {
-    var box = jQuery(e).next('.message-stanza');
+    var box = jQuery(e).next("br").next('.message-stanza');
     if ( box.css('display') == 'none') {
         box.css('display', 'block');
         jQuery(e).addClass('open');
diff --git a/share/html/Ticket/Elements/FoldStanzaJS b/share/html/Ticket/Elements/FoldStanzaJS
index 1855487..cb90b91 100644
--- a/share/html/Ticket/Elements/FoldStanzaJS
+++ b/share/html/Ticket/Elements/FoldStanzaJS
@@ -1,3 +1,3 @@
-<div
+<span
     class="message-stanza-folder"
-    onclick="fold_message_stanza(this, '<%loc('Show quoted text')%>', '<%loc('Hide quoted text')%>');"><%loc('Show quoted text')%></div>\
+    onclick="fold_message_stanza(this, '<%loc('Show quoted text')%>', '<%loc('Hide quoted text')%>');"><%loc('Show quoted text')%></span><br />\

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


More information about the Rt-commit mailing list