[FIX] jquery browser detection fix

bzr revid: al@openerp.com-20131118180642-xa39ja4o8zt8zd5o
This commit is contained in:
Antony Lesuisse
2013-11-18 19:06:42 +01:00
parent b261aad229
commit 7c9be80f95
+4
View File
@@ -586,6 +586,10 @@ instance.web.TranslationDataBase.include({
});
/** Custom jQuery plugins */
if(navigator.appVersion.indexOf("MSIE") !== -1) {
$.browser = $.browser || {};
$.browser.msie = 1;
}
$.fn.getAttributes = function() {
var o = {};
if (this.length) {