Secondary tabs not visible
wmike - March 26, 2009 - 19:16
| Project: | IMCE |
| Version: | 6.x-1.2 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I know this has been highlighted - however, I cannot find a solution to this.
Bringing up the IMCE file browser window from fckeditor shows the editor without the upload, resize etc tabs visible. The code relating to these is as follows:
'
'
I have tried to override the class in style.css of the relevant theme - nothing - still not visible. All is needed is to change the colour, I guess - can't seem to do it however.
Any ideas, please?
Cheers!
Mike

#1
As you can see - they display here - surely a css issue?
#2
Yes. try to figure it out using firebug or developer tools for firefox.
#3
I have a similar problem related to themes. I discovered that with my custom theme only one tab is "printed" by Drupal (no CSS issue!) while core theme shows them all. See attached images for a comparison of the same tags. How can a theme influence this?
#4
Apparently these tabs are added by Javascript. May be somebody of the developers can explain what could cause that only the first tab appears in a theme? We are talking about an Artisteer theme that has some JS of its own that could override or hinder IMCE's javascript.
#5
For your information I attach the theme's JS file.
#6
Artisteer changes the option from an 'input' to a 'button'. Under imce.js around line 257 it searches for the 'input', and doesn't find one.. since Artisteer changed it to a 'button'.
Adding a check to imce.js to check for 'button' if 'input' isn't found fixes the problem.
I did a check to find if it the sbmt variable has an 'id' attribute, and if not, look for a 'button'.
Maybe a cleaner/quicker way to fix. Suggestions welcomed.
To Fix:
Search imce.js for
var sbmt = $('input:submit', this);
And add the below code just below it...
if (!sbmt.attr('id')) {
sbmt = $('button:submit', this);
}