# HG changeset patch
# User Dan
# Date 1210032524 14400
# Node ID dffcbfbc4e591fa3d82247800e8adf5b2f0010a3
# Parent 5841df0ab5754122819ec95a024029bb8aa312ff
Upgraded TinyMCE to version 3.0.8
diff -r 5841df0ab575 -r dffcbfbc4e59 includes/clientside/tinymce/langs/en.js
--- a/includes/clientside/tinymce/langs/en.js Mon May 05 20:06:37 2008 -0400
+++ b/includes/clientside/tinymce/langs/en.js Mon May 05 20:08:44 2008 -0400
@@ -61,7 +61,7 @@
download:"ieSpell not detected. Do you want to install it now?"
},
advhr:{
-advhr_desc:"Horizontale rule"
+advhr_desc:"Horizontal rule"
},
emotions:{
emotions_desc:"Emotions"
diff -r 5841df0ab575 -r dffcbfbc4e59 includes/clientside/tinymce/plugins/advhr/js/rule.js
--- a/includes/clientside/tinymce/plugins/advhr/js/rule.js Mon May 05 20:06:37 2008 -0400
+++ b/includes/clientside/tinymce/plugins/advhr/js/rule.js Mon May 05 20:08:44 2008 -0400
@@ -3,25 +3,34 @@
var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
w = dom.getAttrib(n, 'width');
- f.width.value = w ? parseInt(w) : '';
- f.size.value = dom.getAttrib(n, 'size');
- f.noshade.checked = !!dom.getAttrib(n, 'noshade');
+ f.width.value = w ? parseInt(w) : (dom.getStyle('width') || '');
+ f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || '';
+ f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width');
selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px');
},
update : function() {
- var ed = tinyMCEPopup.editor, h, f = document.forms[0];
+ var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = '';
h = '
|
-
+
|
\n';t.foot='\n