Closed (fixed)
Project:
IMCE
Version:
6.x-1.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2009 at 19:16 UTC
Updated:
19 May 2011 at 21:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
wmike commentedAs you can see - they display here - surely a css issue?
Comment #2
ufku commentedYes. try to figure it out using firebug or developer tools for firefox.
Comment #3
ñull commentedI 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?
Comment #4
ñull commentedApparently 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.
Comment #5
ñull commentedFor your information I attach the theme's JS file.
Comment #6
b777 commentedArtisteer 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);
}
Comment #7
ufku commentedClosing 6.x-1.x issues as this branch is no more supported.