Fixed issue #10747: htmlArea RTE: Inserting a table in IE8 may fail
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Apr 2009 04:44:22 +0000 (04:44 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 3 Apr 2009 04:44:22 +0000 (04:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5262 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index d1149ef..802b5dc 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-04-02  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed issue #10834: htmlArea RTE: IE8 now uses standard name for DOM class attribute
+       * Fixed issue #10747: htmlArea RTE: Inserting a table in IE8 may fail
 
 2009-03-31  Benjamin Mack  <benni@typo3.org>
 
index d26ac9f..80003a9 100644 (file)
@@ -1,6 +1,7 @@
 2009-04-02  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed issue #10834: htmlArea RTE: IE8 now uses standard name for DOM class attribute
+       * Fixed issue #10747: htmlArea RTE: Inserting a table in IE8 may fail
 
 2009-03-10  Stanislas Rolland  <typo3@sjbr.ca>
 
index 05173a6..e195987 100644 (file)
@@ -198,9 +198,7 @@ HTMLArea.prototype.selectRange = function (range) {
  * Split the text node, if needed.
  */
 HTMLArea.prototype.insertNodeAtSelection = function(toBeInserted) {
-       var sel = this._getSelection();
-       var range = this._createRange(sel);
-       range.pasteHTML(toBeInserted.outerHTML);
+       this.insertHTML(toBeInserted.outerHTML);
 };
 
 /*