Skip to content

Cannot read property 'destroy' of undefined - #46

Open
portus84 wants to merge 1 commit into
esvit:masterfrom
portus84:patch-1
Open

Cannot read property 'destroy' of undefined#46
portus84 wants to merge 1 commit into
esvit:masterfrom
portus84:patch-1

Conversation

@portus84

Copy link
Copy Markdown

Destroy doesn't work on angularjs version > 1.3 joined with jquery-ui.

TypeError: Cannot read property 'destroy' of undefined
at CKEDITOR.tools.extend.destroy (ckeditor.js:230)
at HTMLTextAreaElement. (ng-ckeditor.js:79)
at HTMLTextAreaElement.jQuery.event.dispatch (jquery.js:4430)
at HTMLTextAreaElement.jQuery.event.add.elemData.handle (jquery.js:4116)
at Object.jQuery.event.trigger (jquery.js:4345)
at jQuery.fn.extend.triggerHandler (jquery.js:4902)
at jQuery.cleanData (angular.js:1557)
at jquery-ui.js:341
at Function.jQuery.cleanData (angular-scenario.js:10755)
at jQuery.fn.extend.remove (jquery.js:5253)

Destroy doesn't work on angularjs version > 1.3 joined with jquery-ui.
I suggest this workaround.
@portus84 portus84 changed the title Update ng-ckeditor.js Cannot read property 'destroy' of undefined Feb 15, 2015
portus84 pushed a commit to portus84/ng-ckeditor that referenced this pull request Feb 21, 2015
@vmlf01

vmlf01 commented Apr 18, 2015

Copy link
Copy Markdown

This is already merged, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants