mirror of https://github.com/keeweb/keeweb
fix #1619: auto-locking ignored a field being edited
parent
ffb68b1651
commit
d1bcdca0d3
|
@ -10,6 +10,7 @@ const IdleTracker = {
|
|||
const idleMinutes = (Date.now() - this.actionTime) / 1000 / 60;
|
||||
const maxIdleMinutes = AppSettingsModel.idleMinutes;
|
||||
if (maxIdleMinutes && idleMinutes > maxIdleMinutes) {
|
||||
Events.emit('before-user-idle');
|
||||
Events.emit('user-idle');
|
||||
}
|
||||
},
|
||||
|
|
|
@ -61,7 +61,7 @@ class FieldViewText extends FieldView {
|
|||
Events.on('click', fieldValueBlurBound);
|
||||
this.stopBlurListener = () => Events.off('click', fieldValueBlurBound);
|
||||
this.listenTo(Events, 'main-window-will-close', this.externalEndEdit);
|
||||
this.listenTo(Events, 'user-idle', this.externalEndEdit);
|
||||
this.listenTo(Events, 'before-user-idle', this.externalEndEdit);
|
||||
if (this.model.multiline) {
|
||||
this.setInputHeight();
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ Release notes
|
|||
`-` fixed a performance issue in searching entries
|
||||
`*` improved the "Show all file" checkbox behavior
|
||||
`+` shortcut to copy OTP
|
||||
`-` fixed several issues in field editing
|
||||
`-` fix #1561: error during loading configs after reset
|
||||
|
||||
##### v1.15.7 (2020-09-12)
|
||||
|
|
Loading…
Reference in New Issue