#5409 closed Bug (worksforme)
CKEditor 3.2 image dialog forces refresh of page
Reported by: | Gerd W. Naschenweng | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.4 |
Keywords: | Pending | Cc: | Alfonso Martínez de Lizarrondo |
Description
I have a Java/JSP application which implements CKEditor via
<body onLoad="CKEDITOR.replace('Trade_Description');">
When clicking on the image-toolbar icon and then either Canceling or OKing the dialog, the source page refreshes. This occurs on Safari 4.0.5 and Google Chrome on Mac OSX. No refresh occurs when run in IE or Firefox.
I have also tried the nightly build. Using FCKEditor 2.6.6 does not produce the same issue and I therefore believe there is a bug when closing the Image dialog on Safari/Chrome (Webkit).
Change History (11)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
I tried it and it did not work. I am not familiar with "domcontentloaded". I will upload two Quicktime movies showing the differences.
comment:3 Changed 15 years ago by
I could not attach the files here, but uploaded to Youtube:
- CKEditor 3.2 not working on Safari: Shows that in Safari (or Chrome) a page refresh/Get is issued
URL: http://www.youtube.com/watch?v=TGJyrHvWbiE
- CKEditor 3.2 working in Firefox: Shows how it works differently on Firefox (or IE or Opera)
comment:4 Changed 15 years ago by
Cc: | Alfonso Martínez de Lizarrondo added |
---|---|
Keywords: | Pending added |
WFM in both Safari and Chrome on Windows.
comment:5 Changed 15 years ago by
I've tested http://ckeditor.com/demo and the nightly samples and I don't notice any problem with Mac OSX 10.6.3 in Safari or Chrome.
comment:6 Changed 15 years ago by
The standalone demos work fine. I only notice the refresh when running within our application. However swapping out CKEditor with FCKEditor (2.6.6) works fine and our page is not refreshed. This tells me, that CKEditor introduced some refresh under certain circumstances (regardless if I press Cancel/OK on the Image browse dialog). The two Youtube videos depict the different behaviour on Safari.
comment:7 Changed 15 years ago by
Then you'll have to provide us with a test page to understand the problem. We can't fix it any other way.
comment:8 Changed 15 years ago by
CKEditor doesn't perform any page refresh. Maybe there is some code in your page that catches the click and posts the form. You should investigate it further or, as alfonsofml said, provide us a reduced test case page so we can see the problem here.
comment:9 follow-ups: 10 11 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:10 Changed 14 years ago by
Version: | 3.2 → 3.4 |
---|
Replying to alfonsoml:
Sorry, I have the same Problem now in Chrome 6.0.495.0 dev on Debian. Firefox is OK.
comment:11 Changed 14 years ago by
Replying to alfonsoml:
I attach a video. A simple example of the change replacebycode.html replacebycode.php. Added one line in PHP and debbuging in NetBeans. What is the difference when you close the dialog box Images and other? CKEditor reload URL. Similarly behaves Chrome 5 (maybe WebKit).
Try loading the editor in a different way; using this code snippet at the end of your page, or using domcontentloaded from the javascript library you are using. See if that fixes the problem and reply here.