eea / eea.annotator

Inline comments for Plone
http://eea.github.com/docs/eea.annotator
0 stars 5 forks source link

EEA Annotator Breaks TinyMCE Fields in Firefox #3

Closed cdw9 closed 9 years ago

cdw9 commented 10 years ago

From https://dev.plone.org/ticket/14359

Windows 7 Plone 4.3 EEA Annotator (inline comments) 2.3 Name: Firefox Version: 30.0 User Agent: Mozilla/5.0 (Windows NT 6.1; rv:30.0) Gecko/20100101 Firefox/30.0

Activating the EEA Annotator addon and then editing a page causes TinyMCE editor field to not display content of page.

alecghica commented 10 years ago

Hi @cdw9, any JavaScript errors? Looks like a FF bug/incompatibility running on Windows.

cdw9 commented 10 years ago

Sorry, not sure, I only copied this over from a ticket in the Plone Trac

maruberto commented 9 years ago

Hello, I opened original ticket. Here is the error: TypeError: Range.prototype is undefined

...m.Event.cancel(q)}}}})}function g(m){if(!Range.prototype.getClientRects){m.onMou...

http://XXX.XX.XXX.XXX:8080/mruberto/portal_javascripts/Sunburst%20Theme/resourceplone.app.jquery-cachekey-e5160bf15fce3785330c344121c2c9e4.js line 12 > eval

This error happens when clicking the EDIT tab for a page. Hope that helps...

alecghica commented 9 years ago

@maruberto if you use a different browser (e.g. Chrome) you get the same error?

maruberto commented 9 years ago

I have not had this problem with IE or Chrome, only in Firefox.

From: Alexandru Ghica [mailto:notifications@github.com] Sent: Friday, October 10, 2014 10:40 AM To: eea/eea.annotator Cc: Ruberto, Michael A Subject: Re: [eea.annotator] EEA Annotator Breaks TinyMCE Fields in Firefox (#3)

@marubertohttps://github.com/maruberto if you use a different browser (e.g. Chrome) you get the same error?

— Reply to this email directly or view it on GitHubhttps://github.com/eea/eea.annotator/issues/3#issuecomment-58664808.

alecghica commented 9 years ago

@maruberto we have tested it on Firefox (latest) version 32.03 under windows 7 and works fine. Looks like this is a local problem of yours. I'll close this issue.

polyester commented 9 years ago

I see the same problem on Firefox 33, Linux (Ubuntu), Plone 4.3.3

TinyMCE fields are empty.

TypeError: Range.prototype is undefined

The site works fine in Chrome.

alecghica commented 9 years ago

@polyester we'll look into it.

avoinea commented 9 years ago

Fixed by https://github.com/collective/eea.jquery/commit/e2ff976a7241edc04d10de12045a98700cba38f6

polyester commented 9 years ago

Confirming: this fixes the issue on our sites (live, with quite some plugins) completely. Thanks!