Fixed bug #10836: htmlARea RTE: RTE leaves unwanted id attribute on inserted table...
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Apr 2009 21:49:24 +0000 (21:49 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Apr 2009 21:49:24 +0000 (21:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5273 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js

index 58b1f11..51298e9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-04-03  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed issue #10837: htmlARea RTE: IE8 reports unknown "complete" attribute on img nodes
+       * Fixed bug #10836: htmlARea RTE: RTE leaves unwanted id attribute on inserted table in IE8
 
 2009-04-03  Ingo Renner  <ingo@typo3.org>
 
index df5284e..9e5315c 100644 (file)
@@ -1,6 +1,7 @@
 2009-04-03  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed issue #10837: htmlARea RTE: IE8 reports unknown "complete" attribute on img nodes
+       * Fixed bug #10836: htmlARea RTE: RTE leaves unwanted id attribute on inserted table in IE8
 
 2009-04-02  Stanislas Rolland  <typo3@sjbr.ca>
 
index b13e492..379330a 100644 (file)
@@ -350,7 +350,7 @@ TableOperations = HTMLArea.Plugin.extend({
                                table.id = "htmlarea_table_insert";
                                this.editor.insertNodeAtSelection(table);
                                table = this.editor._doc.getElementById(table.id);
-                               table.id = "";
+                               table.removeAttribute("id");
                        }
                        this.editor.selectNodeContents(table.rows[0].cells[0], true);
                        if (this.buttonsConfiguration.toggleborders && this.buttonsConfiguration.toggleborders.setOnTableCreation) {