Merge pull request #2259 from SchrodingersGat/dialog-escapes

Allow escape key on barcode modal
This commit is contained in:
Oliver 2021-11-05 10:58:57 +11:00 committed by GitHub
commit f970255066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,7 @@ function barcodeDialog(title, options={}) {
$(modal).modal({
backdrop: 'static',
keyboard: false,
keyboard: user_settings.FORMS_CLOSE_USING_ESCAPE,
});
if (options.preShow) {