mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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);
|
modalSetTitle(modal, title);
|
||||||
modalSetContent(modal, content);
|
modalSetContent(modal, content);
|
||||||
|
|
||||||
|
$(modal).modal({
|
||||||
|
backdrop: 'static',
|
||||||
|
keyboard: false,
|
||||||
|
});
|
||||||
$(modal).modal('show');
|
$(modal).modal('show');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user