From 25031e09e4ec844e3632daefbc3642b90908f5f2 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 11 Oct 2021 11:22:17 +1100 Subject: [PATCH] Enable setting for legacy launchModalForm function --- InvenTree/templates/js/translated/modals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/modals.js b/InvenTree/templates/js/translated/modals.js index 698a929390..f9658df559 100644 --- a/InvenTree/templates/js/translated/modals.js +++ b/InvenTree/templates/js/translated/modals.js @@ -681,7 +681,7 @@ function openModal(options) { $(modal).modal({ backdrop: 'static', - keyboard: false, + keyboard: user_settings.FORMS_CLOSE_USING_ESCAPE, }); // Disable the form