فهرست منبع

[svn r18236] FS#2867: FCKEditor: Small corrections to adapt the Link dialog.

Ivan Tcholakov 16 سال پیش
والد
کامیت
37356eab73

+ 3 - 0
main/inc/lib/fckeditor/editor/dialog/fck_link/fck_link.js

@@ -799,6 +799,9 @@ function BrowseServer()
 
 function SetUrl( url )
 {
+	url = FCK.GetSelectedUrl ( url ) ;
+	GetE('cmbLinkProtocol').value = '' ;
+
 	GetE('txtUrl').value = url ;
 	OnUrlChange() ;
 	dialog.SetSelectedTab( 'Info' ) ;

+ 1 - 1
main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js

@@ -646,7 +646,7 @@ FCKCommands.GetCommand = function( commandName )
 
 		case 'DocProps'		: oCommand = new FCKDialogCommand( 'DocProps'	, FCKLang.DocProps				, 'dialog/fck_docprops.html'	, 540, 380, FCKCommands.GetFullPageState ) ; break ;
 		case 'Templates'	: oCommand = new FCKDialogCommand( 'Templates'	, FCKLang.DlgTemplatesTitle		, 'dialog/fck_template.html'	, 380, 450 ) ; break ;
-		case 'Link'			: oCommand = new FCKDialogCommand( 'Link'		, FCKLang.DlgLnkWindowTitle		, 'dialog/fck_link.html'		, 540, 300 ) ; break ;
+		case 'Link'			: oCommand = new FCKDialogCommand( 'Link'		, FCKLang.DlgLnkWindowTitle		, 'dialog/fck_link.html'		, 600, 300 ) ; break ;
 		case 'Unlink'		: oCommand = new FCKUnlinkCommand() ; break ;
 		case 'VisitLink'	: oCommand = new FCKVisitLinkCommand() ; break ;
 		case 'Anchor'		: oCommand = new FCKDialogCommand( 'Anchor'		, FCKLang.DlgAnchorTitle		, 'dialog/fck_anchor.html'		, 420, 180 ) ; break ;