diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-12-18 14:12:44 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-12-18 14:12:44 +0100 |
| commit | e47064f1501994f35dd390b8155d52d529b0a0c2 (patch) | |
| tree | b4368a22aa8dddd136f98b223a88cbcbd16dfe0b /addons/web/static/lib/jquery | |
| parent | a841f066778cf87d7ccbd6a71a6f7a26ec91ca4a (diff) | |
[HCK] Temporary jQuery monkey patch until the webclient's minifier is fixed or replaced.
jQuery's $.browser dict is not correctly filled when javascript is minified
https://bugs.launchpad.net/openerp-web/+bug/1091621
As this causes many problems with IE, this is a temporary patch until we fix/replace the minifier
bzr revid: fme@openerp.com-20121218131244-cw6mds1ow94bg6re
Diffstat (limited to 'addons/web/static/lib/jquery')
| -rw-r--r-- | addons/web/static/lib/jquery/jquery-1.8.3.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/lib/jquery/jquery-1.8.3.js b/addons/web/static/lib/jquery/jquery-1.8.3.js index a86bf797a8b..c54e2bedb3b 100644 --- a/addons/web/static/lib/jquery/jquery-1.8.3.js +++ b/addons/web/static/lib/jquery/jquery-1.8.3.js @@ -6484,9 +6484,9 @@ jQuery.uaMatch = function( ua ) { ua = ua.toLowerCase(); var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || - /(webkit)[ \/]([\w.]+)/.exec( ua ) || - /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || - /(msie) ([\w.]+)/.exec( ua ) || + (/(webkit)[ \/]([\w.]+)/.exec( ua )) || + (/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua )) || + (/(msie) ([\w.]+)/.exec( ua )) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || []; |
