﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10803	dialog.hide has no effect in the onShow of the very first dialog to appear	Marc-André		"In the onShow of a dialog we have to check if, instead of the current dialog, we want to present a separate dialog to the user.

If we want to bypass the current dialog, we call `CKEDITOR.dialog.getCurrent().hide()` and do our own thing. This works fine, except if this dialog is the first one to be shown, in which case the hide() does nothing.

Digging in the code, it looks like `parts.dialog.isVisible()` returns false. Note that after any dialog was triggered (either this particular one or another), the `parts.dialog.isVisible()` in that onShow returns true instead and `hide()` works as expected.

In case it can be of help to anyone, I found a hack to bypass the issue by overwritting `parts.dialog.isVisible = function(){ return true; }` and things work fine."	Bug	closed	Normal		General		invalid		
