summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-12-18 14:12:44 +0100
committerFabien Meghazi <fme@openerp.com>2012-12-18 14:12:44 +0100
commite47064f1501994f35dd390b8155d52d529b0a0c2 (patch)
treeb4368a22aa8dddd136f98b223a88cbcbd16dfe0b /addons/web/static/lib/jquery
parenta841f066778cf87d7ccbd6a71a6f7a26ec91ca4a (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.js6
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 ) ||
[];