[svn r21960] FS#2867 - The online editor: Fixing opening the Advanced File Manager.

skala
Ivan Tcholakov 16 years ago
parent aa14922752
commit e09cf1433c
  1. 4
      main/inc/lib/fckeditor/editor/dialog/common/fck_dialog_common.js

@ -199,8 +199,8 @@ function OpenFileBrowser( url, width, height )
// Otherwise FCK, FCKConfig, FCKDialog and FCKLang must be defined.
if ( ( FCKConfig.OpenSimpleFileManagerInANewWindow && FCKConfig.OpenSimpleFileManagerInANewWindow.toString() == 'true' ) &&
( !FCKConfig.AdvancedFileManager || FCKConfig.AdvancedFileManager.toString() != 'true' ) )
if ( ( FCKConfig.OpenSimpleFileManagerInANewWindow && FCKConfig.OpenSimpleFileManagerInANewWindow.toString() == 'true' ) ||
( FCKConfig.AdvancedFileManager && FCKConfig.AdvancedFileManager.toString() == 'true' ) )
{
var iLeft = ( FCKConfig.ScreenWidth - width ) / 2 ;
var iTop = ( FCKConfig.ScreenHeight - height ) / 2 ;

Loading…
Cancel
Save