mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-20 23:15:10 +00:00
Adds setting to close forms using escape key
- Configurable per user - Default = false (to preserve behavior)
This commit is contained in:
1 parent
8d33ee6298
commit
a32b5fdd64
3 files changed
+10
-2
No files matched your search
@@ -981,6 +981,13 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'FORMS_CLOSE_USING_ESCAPE': {
|
||||
'name': _('Escape Key Closes Forms'),
|
||||
'description': _('Use the escape key to close modal forms'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
}
|
||||
}
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in new issue
Block a user