Fixed issue #10837: htmlARea RTE: IE8 reports unknown "complete" attribute on img...
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Apr 2009 21:23:43 +0000 (21:23 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Apr 2009 21:23:43 +0000 (21:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5271 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js

index b0ad807..58b1f11 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-03  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed issue #10837: htmlARea RTE: IE8 reports unknown "complete" attribute on img nodes
+
 2009-04-03  Ingo Renner  <ingo@typo3.org>
 
        * Fixed bug #10838: t3lib_cs->utf8_decode() does not check whether the target charset is utf8
index 80003a9..df5284e 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-03  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed issue #10837: htmlARea RTE: IE8 reports unknown "complete" attribute on img nodes
+
 2009-04-02  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed issue #10834: htmlArea RTE: IE8 now uses standard name for DOM class attribute
index 5a2cea2..8820d90 100644 (file)
@@ -2467,7 +2467,7 @@ HTMLArea.getHTMLWrapper = function(root, outputRoot, editor) {
                        for (i = attrs.length; --i >= 0 ;) {
                                a = attrs.item(i);
                                name = a.nodeName.toLowerCase();
-                               if ((!a.specified && name != 'value') || /_moz|contenteditable|_msh/.test(name)) continue;
+                               if ((!a.specified && name != 'value') || /_moz|contenteditable|_msh|complete/.test(name)) continue;
                                if (!HTMLArea.is_ie || name != "style") {
                                                // IE5.5 reports wrong values. For this reason we extract the values directly from the root node.
                                                // Using Gecko the values of href and src are converted to absolute links unless we get them using nodeValue()