[Rt-commit] rt branch, 4.2/reply-to-html, updated. rt-4.2.1-9-g1e2560f
Alex Vandiver
alexmv at bestpractical.com
Mon Dec 30 16:05:31 EST 2013
The branch, 4.2/reply-to-html has been updated
via 1e2560fe914463bcfe998e6704d34bd5f4653645 (commit)
from ee1418b9efa5c589aa99249fb026ce52f9668d3a (commit)
Summary of changes:
share/html/Elements/FoldStanzaJS | 4 ++--
share/static/js/history-folding.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 1e2560fe914463bcfe998e6704d34bd5f4653645
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Dec 30 16:04:51 2013 -0500
Ensure that "Show quoted text" always displays on its own line
diff --git a/share/html/Elements/FoldStanzaJS b/share/html/Elements/FoldStanzaJS
index 581c963..3466c6a 100644
--- a/share/html/Elements/FoldStanzaJS
+++ b/share/html/Elements/FoldStanzaJS
@@ -45,6 +45,6 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<span
+<div
class="message-stanza-folder closed"
- onclick="fold_message_stanza(this, <%loc('Show quoted text') |n,j%>, <%loc('Hide quoted text') |n,j%>);"><%loc('Show quoted text')%></span><br />\
+ onclick="fold_message_stanza(this, <%loc('Show quoted text') |n,j%>, <%loc('Hide quoted text') |n,j%>);"><%loc('Show quoted text')%></div>
diff --git a/share/static/js/history-folding.js b/share/static/js/history-folding.js
index 091d164..14db0db 100644
--- a/share/static/js/history-folding.js
+++ b/share/static/js/history-folding.js
@@ -1,5 +1,5 @@
function fold_message_stanza(e,showmsg, hidemsg) {
- var box = jQuery(e).next("br").next('.message-stanza');
+ var box = jQuery(e).next('.message-stanza');
if ( box.hasClass('closed') ) {
jQuery([e, box[0]]).removeClass('closed').addClass('open');
jQuery(e).text( hidemsg);
-----------------------------------------------------------------------
More information about the rt-commit
mailing list