Comments

paravibe’s picture

Category: support » bug
Status: Active » Needs review
StatusFileSize
new532 bytes

Hello!
I have many errors in my console, so I created a patch.
Please review.

paravibe’s picture

Just have added --author to patch, sorry. And attached error apearing in console.

alan d.’s picture

Title: remove $.browser » remove $.browser (Remove IE 6 support)
Issue summary: View changes
StatusFileSize
new3.07 KB

Actually, I've no intentions to support IE6 even further. Actually reminds me to drop the workarounds from the D7+8 branches...

Posted by sun on August 18, 2011 at 6:44am

in #1031850: Ensure compatibility with IE6 when using position fixed

So just drop the entire section :)

Status: Needs review » Needs work

The last submitted patch, 3: admin_menu-1892074-3-drop-ie6-check-jquery-1.9-support.patch, failed testing.

paravibe’s picture

Status: Needs work » Needs review
StatusFileSize
new3.48 KB

OK. Patch below removes support of IE6.

Status: Needs review » Needs work

The last submitted patch, 5: admin_menu-remove-ie6-support-1892074-5.patch, failed testing.

paravibe’s picture

Version: 7.x-3.0-rc3 » 7.x-3.x-dev
paravibe’s picture

Status: Needs work » Needs review
katharine_gates’s picture

Hi all: I had this problem because I was running JQuery Update for another module that required it. In the jQuery Update configuration (admin/config/development/jquery_update) I was able to select the Default jQuery Version to be 1.7. This appears to be adequate for now for both my version of Admin Menu (7.x-3.0-rc4) and the other module (TB Mega Menu 7.x-1.0-beta2+0-dev).

axe312’s picture

Status: Needs review » Reviewed & tested by the community

@Katharine_Gates: This is because jQuery 1.7 still has the $.browser function.

Patch works smoothly with jQuery update and jQuery 1.9!

Please commit, IE6 market share is now far below 5%, site builders and editors who are using IE6 should be bashed and burn in hell! (Apologies for the wording...)

For usage statistics follow these links:
http://www.w3schools.com/browsers/browsers_explorer.asp (0.1%)
http://www.netmarketshare.com/report.aspx?qprid=3&qpaf=&qpcustom=Microso... (4.92%)
http://gs.statcounter.com/#browser_version-ww-monthly-201211-201311-bar (IE6 is no more listed)
http://www.w3counter.com/globalstats.php (IE6 is no more listed)
http://clicky.com/marketshare/global/web-browsers/internet-explorer/ (0.33%)

markhalliwell’s picture

Priority: Normal » Major

Patch applied to latest dev. Works like a charm. Please commit this. It's very disruptive and causes the JS engine to halt.

askibinski’s picture

+1 for committing this.

froboy’s picture

Still waiting on this, and the patch in #5 still works perfectly. Thanks!

p0wer’s picture

Stumbled upon this just now when I needed to upgrade my jQuery to 1.11.0 . This bug breaks some other modules and basic Drupal functionality, like vertical tabs not showing and leaving field groups impossible to expand.

However, removing all the older $.browser stuff straight away might be undesired. There are other solutions for detecting IE6.

froboy’s picture

p0wer, can you present your case for retaining IE6 support? Do you really have that many (/any) users who administer sites using IE6?

p0wer’s picture

I don't need IE6 support and none of editors/admins use it anymore since these are most often people familiar with at least basic technology and realize that using IE6 is like digging in a rock. They don't even use IE anymore unless required to, so I'm fine without IE6 support. Besides, the only place I might think of where you can stumble on IE6 nowadays is out-of-the-box Windows Server 2003 and older, and of course freshly installed XP.

IMCE has its own method of detecting IE which is regexp on browser name, also seen suggestions of using Modernizr.js as a replacement solution.

  • Commit b07d37b on 7.x-3.x by Dave Reid:
    Issue #1892074 by paravibe, Alan D. | Punk_UnDeaD: Removed IE 6 support...
dave reid’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x-3.x and 8.x-3.x.

  • Commit 09a0538 on 8.x-3.x by Dave Reid:
    Issue #1892074 by paravibe, Alan D. | Punk_UnDeaD: Removed IE 6 support...
paravibe’s picture

Great. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kopeboy’s picture

Status: Closed (fixed) » Needs review

I am running the latest stable version (after this commit) and I still see
Uncaught TypeError: Cannot read property 'msie' of undefined
error in my console on every page where admin menu is present.

Using jQuery 2.1 with jQuery update module (7.x-3.0-alpha3)

Is that still related to this?!

joseph.olstad’s picture

Status: Needs review » Fixed

@kopeboy , I just searched through admin_menu 7.x-3.0-alpha3 source code for 'msie'
msie is not found, so its gone, I'm not sure where you're getting this from, please try testing on a vanilla d7 installation. For yours, search through your javascript , this msie must be comming from elsewhere, or else needs a cache clear.

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.