Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery 1.9 - $.browser removed #950

Merged
merged 3 commits into from Jan 15, 2013
Merged

jQuery 1.9 - $.browser removed #950

merged 3 commits into from Jan 15, 2013

Conversation

ShaneShipston
Copy link

When I tested the latest beta of jQuery the chosen plugin throws an error. Since jQuery 1.9 has removed $.browser I added the user agent sniffing.

Shane Shipston added 2 commits December 18, 2012 14:10
@stof
Copy link
Collaborator

stof commented Dec 18, 2012

As the only sniffing we need is the IE version, I think the regex could be far simpler

# Do no harm and return as soon as possible for unsupported browsers, namely IE6 and IE7
# Continue on if running IE document type but in compatibility mode
return this if $.browser.msie and ($.browser.version is "6.0" or ($.browser.version is "7.0" and document.documentMode is 7 ))
return this if browser.name.msie and (browser.version is "6.0" or (browser.version is "7.0" and document.documentMode is 7 ))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

browser.name.msie is not defined by your change. what you are would need to check is browser.name is "msie"

@philfreo
Copy link

+1 - Chosen is broken with jQuery 1.9 right now

stof added a commit that referenced this pull request Jan 15, 2013
jQuery 1.9 - $.browser removed
@stof stof merged commit e9801d8 into harvesthq:master Jan 15, 2013
@stof
Copy link
Collaborator

stof commented Jan 15, 2013

thanks

@stof
Copy link
Collaborator

stof commented Jan 15, 2013

@pfiller you should do a new release containing this fix as jQuery 1.9 is now stable

@mvid
Copy link

mvid commented Feb 10, 2013

Any word on a release? jQuery 1.9 has been the default for a month now.

@zeke
Copy link

zeke commented Feb 10, 2013

bump

1 similar comment
@0xCCD
Copy link

0xCCD commented Feb 14, 2013

bump

@littlebee
Copy link

+1 bump

@adrienbrault
Copy link

ping

@stof
Copy link
Collaborator

stof commented Feb 16, 2013

@adrienbrault use the master branch instead of the tag, as said above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants