[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-151-ga54d882
Thomas Sibley
trs at bestpractical.com
Wed Oct 13 13:17:38 EDT 2010
The branch, 3.9-trunk has been updated
via a54d88204cd8e8ddeab6b517a27aabdaabc6d79b (commit)
from aeeba39931584c93817d9e885de3dda1888c824c (commit)
Summary of changes:
share/html/NoAuth/css/base/ticket-form.css | 2 +-
share/html/NoAuth/js/util.js | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit a54d88204cd8e8ddeab6b517a27aabdaabc6d79b
Author: Thomas Sibley <trs at bestpractical.com>
Date: Wed Oct 13 13:16:45 2010 -0400
Add an identifying class to the top level FCKeditor iframe
Use this new class to set the default white background instead of a
container class that requires updating many other components.
diff --git a/share/html/NoAuth/css/base/ticket-form.css b/share/html/NoAuth/css/base/ticket-form.css
index a6ec03e..a7f700f 100644
--- a/share/html/NoAuth/css/base/ticket-form.css
+++ b/share/html/NoAuth/css/base/ticket-form.css
@@ -74,7 +74,7 @@
list-style: none;
}
-.messagebox-container iframe {
+iframe.richtext-editor {
background-color: white !important;
}
diff --git a/share/html/NoAuth/js/util.js b/share/html/NoAuth/js/util.js
index 003eaed..827b8fd 100644
--- a/share/html/NoAuth/js/util.js
+++ b/share/html/NoAuth/js/util.js
@@ -274,6 +274,8 @@ function ReplaceAllTextareas(encoded) {
var oFCKeditor = new FCKeditor( textArea.name, '100%', <% RT->Config->Get('MessageBoxRichTextHeight', $session{CurrentUser} ) %> );
oFCKeditor.BasePath = "<%RT->Config->Get('WebPath')%>/NoAuth/RichText/";
oFCKeditor.ReplaceTextarea();
+
+ jQuery("#" + textArea.name + "___Frame").addClass("richtext-editor");
}
}
};
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list