Ticket #1665 (closed Bug: invalid)

Opened 2 years ago

Last modified 2 years ago

Link Fields Disappearing

Reported by: jpresley 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

Changed 2 years ago by alfonsoml

  • keywords link fields disapearing removed
  • status changed from new to closed
  • resolution set to invalid

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.