Subversion Repositories Applications.papyrus

Rev

Rev 431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 431 Rev 521
Line 7... Line 7...
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
8
 * 
8
 * 
9
 * For further information visit:
9
 * For further information visit:
10
 * 		http://www.fckeditor.net/
10
 * 		http://www.fckeditor.net/
11
 * 
11
 * 
-
 
12
 * "Support Open Source software. What about a donation today?"
-
 
13
 * 
12
 * File Name: fck_docprops.html
14
 * File Name: fck_docprops.html
13
 * 	Link dialog window.
15
 * 	Link dialog window.
14
 * 
16
 * 
15
 * File Authors:
17
 * File Authors:
16
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
18
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
Line 368... Line 370...
368
	}
370
	}
369
}
371
}
Line 370... Line 372...
370
 
372
 
371
function BrowseServerBack()
373
function BrowseServerBack()
372
{
374
{
373
	var iLeft = (screen.width  - FCKConfig.ImageBrowserWindowWidth) / 2 ;
375
	var iLeft = (FCKConfig.ScreenWidth  - FCKConfig.ImageBrowserWindowWidth) / 2 ;
Line 374... Line 376...
374
	var iTop  = (screen.height - FCKConfig.ImageBrowserWindowHeight) / 2 ;
376
	var iTop  = (FCKConfig.ScreenHeight - FCKConfig.ImageBrowserWindowHeight) / 2 ;
375
 
377
 
376
	var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes" ;
378
	var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes" ;
377
	sOptions += ",width=" + FCKConfig.LinkBrowserWindowWidth ;
379
	sOptions += ",width=" + FCKConfig.LinkBrowserWindowWidth ;
378
	sOptions += ",height=" + FCKConfig.LinkBrowserWindowHeight ;
380
	sOptions += ",height=" + FCKConfig.LinkBrowserWindowHeight ;
Line -... Line 381...
-
 
381
	sOptions += ",left=" + iLeft ;
-
 
382
	sOptions += ",top=" + iTop ;
-
 
383
 
-
 
384
	if ( oEditor.FCKBrowserInfo.IsIE )
-
 
385
	{
-
 
386
		// The following change has been made otherwise IE will open the file 
379
	sOptions += ",left=" + iLeft ;
387
		// browser on a different server session (on some cases):
-
 
388
		// http://support.microsoft.com/default.aspx?scid=kb;en-us;831678
-
 
389
		// by Simone Chiaretta.
-
 
390
		var oWindow = oEditor.window.open( FCKConfig.ImageBrowserURL, "FCKBrowseWindow", sOptions ) ;
-
 
391
		oWindow.opener = window ;
380
	sOptions += ",top=" + iTop ;
392
    }
Line 381... Line 393...
381
 
393
    else
382
	var oWindow = window.open( FCKConfig.ImageBrowserURL, "FCKBrowseWindow", sOptions ) ;
394
		window.open( FCKConfig.ImageBrowserURL, "FCKBrowseWindow", sOptions ) ;
383
}
395
}