mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Allow escape key on barcode modal
This commit is contained in:
parent
46fc1e19d5
commit
1f1cf9f9e4
@ -257,7 +257,7 @@ function barcodeDialog(title, options={}) {
|
|||||||
|
|
||||||
$(modal).modal({
|
$(modal).modal({
|
||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
keyboard: false,
|
keyboard: user_settings.FORMS_CLOSE_USING_ESCAPE,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (options.preShow) {
|
if (options.preShow) {
|
||||||
|
Loading…
Reference in New Issue
Block a user