I noticed that all collapsible fieldsets stopped working in IE7 and below. This only occurs when the Performance setting to optimize JavaScript files is turned on. I have pinpointed this to the flag module. If I disable flag module, then the collapsible fieldsets start working again.

Perhaps something needs to be adjusted in the JavaScript so that it is compatible. My guess would be to start with drupal_ad_js if that is being used.

Comments

ajayg’s picture

Looks like something broke in 2.x. I am using Flag 1.x with javascript performance setting fine (and also with IE6 and IE7)

Coupon Code Swap’s picture

I tried the latest dev (Nov 30) and this is still an issue, only in Internet Explorer 7 (i've tested and everything works fine in IE8, Firefox 3.x, Opera 10, Chrome, Safari, Arora and Konqueror). Does anybody have an idea how to fix this other than a IE7 conditional statement notifying visitors that Internet Explorer sucks and they should consider using Firefox instead?

Bilmar’s picture

subscribing

quicksketch’s picture

Some help finding this problem would be appreciated, I reviewed all the JavaScript and I can't find anything immediately obvious that would cause this problem. Stranger yet the JS "compression" in Drupal doesn't actually compress anything, it just aggregates the files all together, so it's a bit of mystery to me why it turning it on would be any different than having it off.

Coupon Code Swap’s picture

Category: support » bug
Priority: Normal » Critical
Status: Closed (fixed) » Active

Hi quicksketch. I don't know if anything has changed since I reported this but Flag is working with the optimize JavaScript option now in IE7. I did however find another module that is causing the same issue.

Avatar Crop:

http://drupal.org/project/avatarcrop

will cause breakage in IE7. I believe I was able to pinpoint it to a Jquery function in avatarcrop.js

$(document).ready(function(){
	$('#cropbox').Jcrop({
		aspectRatio: cwidth/cheight,
	
		onChange: showCoords,
		onSelect: showCoords,
		//onChange: showPreview,
	});

});

Anyhow, I should report this over on the Avatar Crop page.

Please mark this as closed. I have tested and retested and Flag module is working in IE7 now with JavaScript compression on.

quicksketch’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (fixed)

Thanks for the update.

Status: Active » Closed (fixed)