Subversion Repositories Applications.papyrus

Rev

Rev 1925 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 2048
Line 1... Line 1...
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<!--
2
<!--
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5
 *
5
 *
6
 * == BEGIN LICENSE ==
6
 * == BEGIN LICENSE ==
7
 *
7
 *
8
 * Licensed under the terms of any of the following licenses at your
8
 * Licensed under the terms of any of the following licenses at your
9
 * choice:
9
 * choice:
Line 84... Line 84...
84
 
84
 
85
// Sets the Skin CSS
85
// Sets the Skin CSS
Line 86... Line 86...
86
document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ;
86
document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ;
87
 
87
 
Line 88... Line 88...
88
// Sets the language direction.
88
// Sets the language direction.
89
var langDir = document.documentElement.dir = E.FCKLang.Dir ;
89
var langDir = E.FCKLang.Dir ;
90
 
90
 
Line 407... Line 407...
407
	 * requirement for IE, as it looses the selection when the focus moves to other
407
	 * requirement for IE, as it looses the selection when the focus moves to other
408
	 * frames.
408
	 * frames.
409
	 */
409
	 */
410
	EnsureSelection : function()
410
	EnsureSelection : function()
411
	{
411
	{
-
 
412
		// Move the focus to the Cancel button so even if the dialog contains a
-
 
413
		// contentEditable element the selection is properly restored in the editor #2496
-
 
414
		window.focus() ;
-
 
415
		$( 'btnCancel' ).focus() ;
-
 
416
 
412
		FCK.Selection.Restore() ;
417
		FCK.Selection.Restore() ;
413
	},
418
	},
Line 414... Line 419...
414
 
419
 
415
	/**
420
	/**
Line 571... Line 576...
571
	} ;
576
	} ;
Line 572... Line 577...
572
 
577
 
573
	// Program entry point.
578
	// Program entry point.
574
	window.Init = function()
579
	window.Init = function()
-
 
580
	{
-
 
581
		$( 'contents' ).dir = langDir;
575
	{
582
 
576
		// Start the throbber timer.
583
		// Start the throbber timer.
Line 577... Line 584...
577
		Throbber.Show( 1000 ) ;
584
		Throbber.Show( 1000 ) ;
578
 
585