Opened 14 years ago
Closed 13 years ago
#6322 closed Bug (invalid)
IE9 is breaking FCKTools.RegisterDollarFunction
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.6 |
Keywords: | Cc: |
Description
This is a change that they have wanted to do as it's mentioned in the release notes:
Invoking cached DOM functions without using the dot (.) notation and without using call/apply/bind now throws script errors. The previously supported legacy function invocation pattern has been removed for better interoperability and standards support:
var g = document.getElementById; g(‘test’); // Now throws an exception
In FCKeditor there's this code:
FCKTools.RegisterDollarFunction = function( targetWindow ) { targetWindow.$ = targetWindow.document.getElementById ; }
That now it's broken and the dialogs don't work. Using the same code as the "gecko" version works properly.
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.