when opening the editor in a modaldialog - all inner dialogs have a problem to open -
the couse is window.parent in the inner dialog pages (fck_smiley.html ...).
i solved that problem by adding a refernce to the fckdialog.html window.
in "LoadInnerDialog()" (fckdialog.html) i add
dialogArguments.dialogWin=window;
and in the inner dialog files (like fck_smiley.html )
i changed the :
var oEditor = window.parent.InnerDialogLoaded() ;
To :
var oEditor = dialogArguments.dialogWin.InnerDialogLoaded() ;
The editor work OK in a modalDialog and without a Modaldialog (all the samples works ok)
the couse is window.parent in the inner dialog pages (fck_smiley.html ...).
i solved that problem by adding a refernce to the fckdialog.html window.
in "LoadInnerDialog()" (fckdialog.html) i add
dialogArguments.dialogWin=window;
and in the inner dialog files (like fck_smiley.html )
i changed the :
var oEditor = window.parent.InnerDialogLoaded() ;
To :
var oEditor = dialogArguments.dialogWin.InnerDialogLoaded() ;
The editor work OK in a modalDialog and without a Modaldialog (all the samples works ok)