Opened 14 years ago
Last modified 12 years ago
#7616 confirmed New Feature
Support window name in the popup plugin
Reported by: | Sergiy Shyrkov | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | File Browser | Version: | 3.0 |
Keywords: | Cc: |
Description ¶
With the following changes the popup plugin was extended with window features, but it is still impossible to specify the popup windowName. It would be nice to add support for it, otherwise the file browser is opened in a new window each time (even if the corresponding window is already opened).
The popup function in the CKEditor/trunk/_source/plugins/popup/plugin.js can be adjsuted to accept windowName:
popup : function( url, width, height, options, windowName )
Thank you in advance!

Change History (3)
Changed 14 years ago by
Attachment: | ckeditor-7616.patch added |
---|
comment:1 follow-up: 2 Changed 12 years ago by
Component: | General → File Browser |
---|---|
Keywords: | popup windowName removed |
Status: | new → confirmed |
Version: | → 3.0 |
I have tried your code in latest CKEditor 4.2 with CKFinder 2.4. The result wasn't as expected. On second Browse Server button click the popup was closed. Something like this doesn't happen with native code (I have checked to make sure).
Never the less you are right users should have the choice whether they want to open new window on every button click or want just one window opened. Providing name for popup window as config option should allow that and will override default "_blank" setting.
comment:2 Changed 12 years ago by
Thank you for the feedback Jakub! The patch was submitted by me more than 2 years ago against trunk, which at that time was 3.x. I doubt the original patch is compatible with the CKEditor 4.x.
Replying to j.swiderski:
I have tried your code in latest CKEditor 4.2 with CKFinder 2.4. The result wasn't as expected. On second Browse Server button click the popup was closed. Something like this doesn't happen with native code (I have checked to make sure).
Never the less you are right users should have the choice whether they want to open new window on every button click or want just one window opened. Providing name for popup window as config option should allow that and will override default "_blank" setting.

Attached the patch (ckeditor-7616.patch) against current trunk (last revision was 6829)