public/ckeditor/_source/plugins/link/dialogs/link.js
function()
	{
		var dialog = this.getDialog(),
			popupFeatures = dialog.getContentElement( 'target', 'popupFeatures' ),
			targetName = dialog.getContentElement( 'target', 'linkTargetName' ),
			value = this.getValue();

		if ( !popupFeatures || !targetName )
			return;

		popupFeatures = popupFeatures.getElement();
		popupFeatures.hide();
		targetName.setValue( '' );

		switch ( value )
 		{
			case 'frame' :
				targetName.setLabel( editor.lang.link.targetFrameName );
				targetName.getElement().show();
				break;
			case 'popup' :
				popupFeatures.show();
				targetName.setLabel( editor.lang.link.targetPopupName );
				targetName.getElement().show();
				break;
			default :
				targetName.setValue( value );
				targetName.getElement().hide();
				break;
 		}

	}
function()
	{
		var dialog = this.getDialog(),
			popupFeatures = dialog.getContentElement( 'target', 'popupFeatures' ),
			targetName = dialog.getContentElement( 'target', 'linkTargetName' ),
			value = this.getValue();

		if ( !popupFeatures || !targetName )
			return;

		popupFeatures = popupFeatures.getElement();
		popupFeatures.hide();
		targetName.setValue( '' );

		switch ( value )
 		{
			case 'frame' :
				targetName.setLabel( editor.lang.link.targetFrameName );
				targetName.getElement().show();
				break;
			case 'popup' :
				popupFeatures.show();
				targetName.setLabel( editor.lang.link.targetPopupName );
				targetName.getElement().show();
				break;
			default :
				targetName.setValue( value );
				targetName.getElement().hide();
				break;
 		}

	}
function ( ) { var dialog = this . getDialog ( ) , popupFeatures = dialog . getContentElement ( 'target' , 'popupFeatures' ) , targetName = dialog . getContentElement ( 'target' , 'linkTargetName' ) , value = this . getValue ( ) ; if ( ! popupFeatures || ! targetName ) return ; popupFeatures = popupFeatures . getElement ( ) ; popupFeatures . hide ( ) ; targetName . setValue ( '' ) ; switch ( value ) { case 'frame' : targetName . setLabel ( editor . lang . link . targetFrameName ) ; targetName . getElement ( ) . show ( ) ; break ; case 'popup' : popupFeatures . show ( ) ; targetName . setLabel ( editor . lang . link . targetPopupName ) ; targetName . getElement ( ) . show ( ) ; break ; default : targetName . setValue ( value ) ; targetName . getElement ( ) . hide ( ) ; break ; } }
Handles the event when the "Target" selection box is changed.
Handles the event when the Target selection box is changed .