question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NS_ERROR_UNEXPECTED on Firefox when init again same id after Ajax reload

See original GitHub issue

When init again Tinymce on same id after ajax reload Firefox has a problem at line 370 in dom/Serializer.js and throw an exception NS_ERROR_UNEXPECTED :

impl = node.ownerDocument.implementation;

I fixed it by adding a condition :

if (Env.webkit || Env.opera) { ... }

Is there another way to fix that for good ?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
spockecommented, Feb 10, 2016

Can be avoided by using tinymce.remove(); see: http://fiddle.tinymce.com/spfaab

1reaction
metricjscommented, Jul 25, 2016

Hi, we’ve investigated this issue and cannot reproduce it in TinyMCE v4.4.0. Thanks, the TinyMCE Team.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery's ajax is causing a full page refresh in FireFox
The ajax call works fine in IE 7, but FireFox 3 always does a full page refresh when making this call. The ajax...
Read more >
Bug #6013 - TinyMCE
So the environnement is : Ajax Timer and Ajax Update Panel. ... Then I load the first page with editor (same textarea id)...
Read more >
Too much security kills functionality. | Firefox Support Forum
I can't see security risk if this AJAX post goes to the same domain as script domain. As I said, this script worked...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found