[BUGFIX] RTE: Default link plugin raises error in IE 88/36288/2
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 26 Jan 2015 23:30:22 +0000 (18:30 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 26 Jan 2015 23:32:04 +0000 (00:32 +0100)
htmlRenderer has not yet been instantiated.

Releases: master
Resolves: #64523
Change-Id: I4de89982364aa1dcbc34f382563f669e77d99106
Reviewed-on: http://review.typo3.org/36288
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultLink.js

index 311f5da..58471f6 100644 (file)
@@ -96,12 +96,13 @@ define('TYPO3/CMS/Rtehtmlarea/Plugins/DefaultLink',
                                tpl: '<tpl for="."><div ext:qtip="{value}" style="text-align:left;font-size:11px;" class="x-combo-list-item">{text}</div></tpl>'
                        }
                },
-               /*
+
+               /**
                 * This function gets called when the editor is generated
                 */
                onGenerate: function () {
                        if (UserAgent.isIE) {
-                               this.editor.iframe.htmlRenderer.stripBaseUrl = this.stripBaseUrl;
+                               this.editor.iframe.getHtmlRenderer().stripBaseUrl = this.stripBaseUrl;
                        }
                },
                /*