Last modified: 2014-08-05 09:24:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32396, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30396 - Form popup does not work with IE7.
Form popup does not work with IE7.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: s7eph4n
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-16 12:55 UTC by Neill Mitchell
Modified: 2014-08-05 09:24 UTC (History)
3 users (show)

See Also:
Web browser: Internet Explorer
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Neill Mitchell 2011-08-16 12:55:26 UTC
Hi.

The form popup does not work with IE7. I just get an empty white box.

Unfortunately, one in 11 people round the world still use IE7, so this is pretty important.

I'm running MW 1.16.5 and SF 2.2.

Thanks.
Comment 1 Yaron Koren 2011-08-16 16:23:28 UTC
Adding Stephan to CC list (he should probably be the assignee, actually), since he knows all the Javascript stuff.
Comment 2 s7eph4n 2011-09-14 19:44:38 UTC
Just tinkered with the popup for another bug. Tested it with IE9 in IE7 mode and it seemed to work. Could you try if it works for a real IE7?
Comment 3 Neill Mitchell 2011-09-15 11:00:06 UTC
Hi.

Good news. Sure, I can check it.

Is it a simple change that could be posted here? I could check out the entire SF svn branch, but this might break other things and it's a question of time.

Thanks!
Comment 4 s7eph4n 2011-09-15 11:10:00 UTC
It should be sufficient to replace ../SemanticForms/libs/SF_popupform.js.
You might wait a bit longer, though. I had to do some more changes, which I will check in tonight. (Can't do it from here.) I'll let you know.
Comment 5 Neill Mitchell 2011-09-15 12:12:10 UTC
Okay, I'll wait for the check in. Thanks!
Comment 6 s7eph4n 2011-09-15 21:08:10 UTC
Ok, I'm finished, I hope. If you want to give it a try please replace ../SemanticForms/libs/SF_popupform.js and ../SemanticForms/skins/SF_popupform.css.

Cheers.
Comment 7 Neill Mitchell 2011-09-16 08:59:14 UTC
Hi.

Bad news I'm afraid. The popups do not work at all now. I just get the spinning circle. Firebug shows the following output:

content.css({margin: 0, padding: padding, width: "auto", height: "auto", minWidth: "0px", minHeight: "0px", border: "none"}).parentsUntil is not a function
error source line: [Break On This Error] .parentsUntil('html')
SF_popupform.js (line 241)

Cheers
Neill.
Comment 8 s7eph4n 2011-09-16 11:30:03 UTC
You mean it does not even work for other browsers? There must be something else going wrong then. parentsUntil is in jQuery since 1.4, SF 2.2 ships jQuery 1.4.2 so it should definitely be in.

Could you set $.fn.jquery as a watch expression in Firebug, please, and report the result? Also, is there anything else unusual on your wiki (custom skin, extensions, JS widgets)?

(If you could reproduce this on a public wiki that would of course help, too.)
Comment 9 Neill Mitchell 2011-09-16 14:14:21 UTC
It's not working with any browser. I've tried Chrome 12, FF 6.0.2, IE7 & 9, Dolphin. Same result.

With SF 2.2.1 it all works fine in these browsers (except in IE7 of course!)

If I add a new watch expression in Firebug on $.fn.jquery I get TypeError: $.fn is undefined

Perhaps just replacing those two files isn't enough and I need the whole branch?
Comment 10 Neill Mitchell 2011-09-16 14:19:56 UTC
Interestingly, if I copy just the css file then the popup works in IE7. So your CSS tweak is enough :)

Worrying that the .js file causes a break though, but perhaps like I say I need the whole branch and not just those 2 files.

Cheers
Neill.
Comment 11 s7eph4n 2011-09-16 15:04:32 UTC
Those two files should be enough. The change to SF_popupform.js was necessary because in newer versions of FF scrolling did not work anymore.

What happens if you watch jQuery.fn.jquery?
Comment 12 Neill Mitchell 2011-09-16 15:28:03 UTC
Interesting jQuery.fn.jquery returns "1.3.2". I did a grep and found that SRF Exhibit was using jquery-1.3.2. I updated it to 1.4.2 and the popup now works in FF and Chrome :) Exhibit seems to still function okay (which is a miracle in itself!).

So I guess SRF Exhibit's jquery needs updating or a lot of people are going to see a break when this new version of SF goes live.

Now the bad news. The popup now doesn't work at all in IE7. The error is:
Line: 228
Char 3
Error: Object doesn't support this property or method

If I revert to the 2.2.1 SF_popupform.js with the svn SF_popupform.css file it works. So something in the new js breaks IE7 completely.
Comment 13 s7eph4n 2011-09-16 15:51:53 UTC
Ok, I guess I have to find a real IE7 to fix this. This will take some time, though, so if applying only the CSS works for you, please do this for the time being.

(Adding Jeroen to the CC list. Maybe he can fix Exhibit with a newer jQuery lib.)
Comment 14 Neill Mitchell 2011-09-16 15:58:12 UTC
I have VMWare Workstation so can fire up just about anything for testing :) IE7 is such a pain. To quote from Die Hard - "Why won't you just die!"

Thanks for all your help so far.
Comment 15 Neill Mitchell 2013-06-14 08:44:34 UTC
Recent fix seem to have sorted this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links