Opened 16 years ago
Closed 16 years ago
#2257 closed Bug (invalid)
nested dialogs don't work correctly
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | FCKeditor 2.6 Beta |
Keywords: | Confirmed | Cc: |
Description
Assume that in a dialog you want to show a mini-editor (ex: in the google maps plugin, being able to insert an image or link in the marker text).
So the process is: base editor, launches a dialog (let's name it base-dialog) that contains a minieditor (just another instance with a simplified toolbar).
If a dialog is launched from the minieditor, then there are several problems.
- First time, the cover frame is show in the main editor, not covering the base-dialog. The insertion point in the minieditor is lost.
- The second time it seems to work fine.
- Close base-dialog, and launch it again. Now when you try to launch another dialog from the minieditor, it is shown behind the current base-dialog, and the game is over, you won't be able to get back to the main editor.
I think that at least the last part is important to fix. No matter what happens, no matter if there is any error, the user should be able always to close the dialogs and return back to its content (I mean: there might be other unknown circumstances where there's an error, but that shouldn't mean a reload of the page for the user).
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | Editor.zip added |
---|
comment:1 Changed 16 years ago by
this plugin provides a testcase to check the described behavior. load the plugin and add the button to your toolbar ('Editor')
comment:2 Changed 16 years ago by
Keywords: | Confirmed added |
---|
Confirmed in IE and FF with the latest SVN version of FCKeditor.
comment:3 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The problem in the test case is that I didn't handle properly the z-index, so it's a problem in the developer. Let's close this bug to focus on more interesting things.
sample plugin