Currently when using with jQuery >= 1.9, Firebug will capture a JS error message as below:

TypeError: $.browser is undefined
As refer to http://api.jquery.com/jQuery.browser/:

Description: Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead.

A dirty workaround is to remove the usage of $.browser and the support for IE 6.
As a better alternative, we may consider using http://api.jquery.com/jquery.support/ instead?

CommentFileSizeAuthor
#2 fix_depricated_method_2884827_1.patch530 byteskeshavv

Comments

reszli created an issue. See original summary.

keshavv’s picture

StatusFileSize
new530 bytes

I have same same problem. Find solution after 2 days .
Here is the patch.

keshavv’s picture

Status: Active » Needs review

bucefal91 credited rfay.

bucefal91’s picture

  • bucefal91 committed cf0d8d1 on 7.x-1.x
    Issue #2884827 by keshav.k: Fixing JS error upon deprecated $.browser...
bucefal91’s picture

Status: Needs review » Fixed

Committed #2.

Status: Fixed » Closed (fixed)

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