Fix #17944 - unable to create a view from tree view button

- Add the modal to the navigation panel
- Prevent modals to be removed on navigation bar is replaced

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2022-12-12 22:00:50 +01:00
parent 62abb43a71
commit 556aacbc0f
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
2 changed files with 2 additions and 0 deletions

View File

@ -509,6 +509,7 @@ var AJAX = {
// Remove all containers that may have
// been added outside of #page_content
$('body').children()
.not("div.modal")
.not('#pma_navigation')
.not('#floating_menubar')
.not('#page_nav_icons')

View File

@ -95,4 +95,5 @@
{% endif %}
</div>
{{ include('modals/unhide_nav_item.twig') }}
{{ include('modals/create_view.twig') }}
{% endif %}