code: function uploadFile( evt ) {
  		var dialog = this.getDialog();
  		var editor = dialog.getParentEditor();
  
  		editor._.filebrowserSe = this;
  
  		// If user didn't select the file, stop the upload.
  		if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getInputElement().$.value )
  			return false;
  
  		if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getAction() )
  			return false;
  
  		return true;
  	}
docs: The onlick function assigned to the 'Upload' button. Makes the final decision whether form is really submitted and updates target field when file is uploaded.  @param {CKEDITOR.event} evt The event object.