diff options
| author | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2012-09-11 12:12:51 +0530 |
|---|---|---|
| committer | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2012-09-11 12:12:51 +0530 |
| commit | ce3ebe5cebf8b040dae066ac8077aacf4aed2b3d (patch) | |
| tree | aa1c500eaf07717a8bb287be15bf1401f41e4706 | |
| parent | 8126882b0ea69504976b27ff70032341a1cf9a93 (diff) | |
[IMP] For firefox browser css apply on blockUI.
bzr revid: bth@tinyerp.com-20120911064251-vh6j1au1lzpj0k44
| -rw-r--r-- | addons/web/static/lib/jquery.blockUI/jquery.blockUI.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/web/static/lib/jquery.blockUI/jquery.blockUI.js b/addons/web/static/lib/jquery.blockUI/jquery.blockUI.js index 04db883c76e..6aba71ec58d 100644 --- a/addons/web/static/lib/jquery.blockUI/jquery.blockUI.js +++ b/addons/web/static/lib/jquery.blockUI/jquery.blockUI.js @@ -260,13 +260,14 @@ function install(el, opts) { lyr3.css(themedCSS); lyr3.addClass('ui-widget-content'); } - else + else lyr3.css(css); } - // style the overlay if (!opts.theme && (!opts.applyPlatformOpacityRules || !($.browser.mozilla && /Linux/.test(navigator.platform)))) - lyr2.css(opts.overlayCSS); + lyr2.css(opts.overlayCSS); + if ($.browser.mozilla && /Linux/.test(navigator.platform)) + lyr2.css(opts.overlayCSS); lyr2.css('position', full ? 'fixed' : 'absolute'); // make iframe layer transparent in IE |
