+2009-04-06 Stanislas Rolland <typo3@sjbr.ca>
+
+ * Follow-up to issue #10834: htmlArea RTE: IE8 now uses standard name for DOM class attribute
+
2009-04-06 Oliver Hader <oliver@typo3.org>
* Follow-up to feature #9703: Admin panel cannot not be dragged
+2009-04-06 Stanislas Rolland <typo3@sjbr.ca>
+
+ * Follow-up to issue #10834: htmlArea RTE: IE8 now uses standard name for DOM class attribute
+
2009-04-05 Stanislas Rolland <typo3@sjbr.ca>
* Follow-up to issue #10834: htmlArea RTE: IE8 now uses standard name for DOM class attribute
var newc = node.className.replace(/(^|\s)mso.*?(\s|$)/ig,' ');
if(newc != node.className) {
node.className = newc;
- if(!/\S/.test(node.className)) node.removeAttribute("className");
+ if(!/\S/.test(node.className)) {
+ if (!HTMLArea.is_opera) {
+ node.removeAttribute("class");
+ if (HTMLArea.is_ie) {
+ node.removeAttribute("className");
+ }
+ } else {
+ node.className = '';
+ }
+ }
}
}
function clearStyle(node) {