[svn r17210] FS#2867 - FCKEditor: Minor change in the customizations plugin to avoid a noticed javascript error.

skala
Ivan Tcholakov 17 years ago
parent d78f07a002
commit 207b6ff2be
  1. 10
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js

@ -311,7 +311,13 @@ var FCKDialog = ( function()
if ( dialog._ParentDialog ) // Nested Dialog.
{
topDialog = dialog._ParentDialog ;
dialog._ParentDialog.contentWindow.SetEnabled( true ) ;
// Modified by Ivan Tcholakov, caused errors during tests.
//dialog._ParentDialog.contentWindow.SetEnabled( true ) ;
if (dialog._ParentDialog.contentWindow)
{
dialog._ParentDialog.contentWindow.SetEnabled( true ) ;
}
//
}
else // First Dialog.
{
@ -399,4 +405,4 @@ var FCKDialog = ( function()
return cover ;
}
} ;
} )() ;
} )() ;

Loading…
Cancel
Save