diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2016-05-12 15:46:23 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2016-05-12 15:56:14 +0200 |
| commit | 38e35cc4427af0a6ae11f5c1115c5c0f603eecb2 (patch) | |
| tree | f716e85e6a67943bdde7c03c0e19c51f443ace52 /addons/web/static/src/js/framework/session_instance.js | |
| parent | f41bcda03b3eb054f640355ce4e165a1e5c99c8f (diff) | |
[FIX] web_editor: scroll and editing menu modal
The class modal-open on body tag allow to scroll on the modal content
which is useful if the content is taller than the window viewport.
When closing the modal, this class is removed but there may be another
modal open on which we will not be able to scroll to view
buttons/content if too big.
This commit check if a modal is still opened after closing an editor
modal and in the affirmative add back the modal-open class.
opw-674475
note : was already present in 8.0 with ec47493, it is also present for
web.Dialog (but the modal of the editor do not inherit from web.Dialog)
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
