When keep inserting an template. Lets say you insert 3 or 4 times differtens and the same temlpate. You get an error on IE wich says that some property or method doesn't supported by this object.
This error is caused by the function: window.parent.Cancel() ; in /FCKeditor/editor/dialog/fck_template.html
That functions calls:
function Cancel()
{
// All dialog windows will fire the "OnSelectionChange" event, not matter
// the Ok or Cancel button have being pressed.
window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
window.close() ;
}
this can be found in: window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
/FCKeditor/editor/fckdialog.html
The error is caused by the
window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
When you change
window.parent.Cancel() ;
into
window.close() ;
then it is fixed.
But is this a good fix?
Thanx
This error is caused by the function: window.parent.Cancel() ; in /FCKeditor/editor/dialog/fck_template.html
That functions calls:
function Cancel()
{
// All dialog windows will fire the "OnSelectionChange" event, not matter
// the Ok or Cancel button have being pressed.
window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
window.close() ;
}
this can be found in: window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
/FCKeditor/editor/fckdialog.html
The error is caused by the
window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
When you change
window.parent.Cancel() ;
into
window.close() ;
then it is fixed.
But is this a good fix?
Thanx