Opened 16 years ago

Closed 16 years ago

#1665 closed Bug (invalid)

Link Fields Disappearing

Reported by: Jason Presley Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version:
Keywords: Cc:

Description

I have integrated the cffm file manager with fckeditor so I want to hide the "Upload" tabs on the insert image, insert flash, and insert link dialog boxes. To do this I am commenting out the following lines of code:

fck_image.js
line 40: if ( FCKConfig.ImageUpload )
line 41: window.parent.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ;
line 51: ShowE('divUpload' , ( tabCode == 'Upload' ) ) ;

fck_flash.js
line 34: if ( FCKConfig.ImageUpload )
line 35: window.parent.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ;
line 44: ShowE('divUpload' , ( tabCode == 'Upload' ) ) ;

fck_link.js
line 39: if ( FCKConfig.ImageUpload )
line 40: window.parent.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ;
line 40: ShowE('divUpload' , ( tabCode == 'Upload' ) ) ;

BUG: When I comment out the links on the fck_link.js file the form fields on one of the other link dialog box fields will disappear. This only happens on the link dialog box. I have not had this problem on the image or flash dialog boxes.

Change History (1)

comment:1 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Keywords: link fields disapearing removed
Resolution: invalid
Status: newclosed

Invalid.

The correct way to disable quickuploads is to change the configuration:

FCKConfig.LinkUpload = false ;
FCKConfig.ImageUpload = false ;
FCKConfig.FlashUpload = false ;
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy