summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-12-05 17:20:26 +0100
committerqsm-odoo <qsm@odoo.com>2017-12-05 18:45:58 +0100
commitdc5755698cc41e0c5f51ab5dccee1356a0f23a3f (patch)
tree4b2fefdf835681d0b89929ad1fe75f516c1c43d0 /addons/web/static/src
parentc487381dbf65c515faee97920323a6412c680675 (diff)
[FIX] web: restore saas modals
This commit basically reverts 4974f8edb76e27471bb00c1659c878d0b7a04daf The fix was unstable (as restoring a feature that was not there before release, even if originally merged before). This was in particular breaking saas modals as lots of them are still opened using 8.0 system... and opening them this way might make them appear below their own backdrop in the new system the mentioned commit restored. We will think about that feature again for a future version.
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/less/bootstrap_overridden.less5
-rw-r--r--addons/web/static/src/less/modal.less9
2 files changed, 10 insertions, 4 deletions
diff --git a/addons/web/static/src/less/bootstrap_overridden.less b/addons/web/static/src/less/bootstrap_overridden.less
index ada94dbf4ca..ca6383e0116 100644
--- a/addons/web/static/src/less/bootstrap_overridden.less
+++ b/addons/web/static/src/less/bootstrap_overridden.less
@@ -83,7 +83,10 @@
//
// Note that the variable @zindex-modal-background may be renamed/removed in
// newer versions of bootstrap.
-@zindex-modal-background: @zindex-modal;
+//
+// TODO the following code was disabled because it is saas-incompatible
+//
+// @zindex-modal-background: @zindex-modal;
//== Navs
@nav-link-padding: 10px 15px;
diff --git a/addons/web/static/src/less/modal.less b/addons/web/static/src/less/modal.less
index ec96d06b67e..a223deb55ef 100644
--- a/addons/web/static/src/less/modal.less
+++ b/addons/web/static/src/less/modal.less
@@ -79,6 +79,9 @@
// Temporary fix for modals which are not instantiated thanks to the Dialog
// JS classes (deprecated case) (see bootstrap_overridden.less) + Frontend.
-:not(body) > .modal {
- z-index: @zindex-modal-background + 1;
-}
+//
+// TODO the following code was disabled because it is saas-incompatible
+//
+// :not(body) > .modal {
+// z-index: @zindex-modal-background + 1;
+// }