mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Prevent modals from automatically closing
This commit is contained in:
parent
17ecb59dbb
commit
1363fa9f1f
@ -86,6 +86,10 @@ function openModal(modal, title='', content='') {
|
||||
modalSetTitle(modal, title);
|
||||
modalSetContent(modal, content);
|
||||
|
||||
$(modal).modal({
|
||||
backdrop: 'static',
|
||||
keyboard: false,
|
||||
});
|
||||
$(modal).modal('show');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user