mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 01:15:20 +00:00
Prevent modals from automatically closing
This commit is contained in:
1 parent
17ecb59dbb
commit
1363fa9f1f
1 file changed
+4
@@ -86,6 +86,10 @@ function openModal(modal, title='', content='') {
|
||||
modalSetTitle(modal, title);
|
||||
modalSetContent(modal, content);
|
||||
|
||||
$(modal).modal({
|
||||
backdrop: 'static',
|
||||
keyboard: false,
|
||||
});
|
||||
$(modal).modal('show');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user