mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-27 07:45:08 +02:00
fix auto-type start
This commit is contained in:
parent
cc7d9fab73
commit
f4c3d59850
|
@ -28,7 +28,7 @@ var AutoType = {
|
|||
},
|
||||
|
||||
handleEvent: function(e) {
|
||||
let entry = e && entry || null;
|
||||
let entry = e && e.entry || null;
|
||||
logger.debug('Auto type event', entry);
|
||||
if (entry) {
|
||||
this.hideWindow(() => { this.runAndHandleResult(entry); });
|
||||
|
|
|
@ -820,7 +820,7 @@ var DetailsView = Backbone.View.extend({
|
|||
},
|
||||
|
||||
autoType: function() {
|
||||
Backbone.emit('auto-type', { entry: this.model });
|
||||
Backbone.trigger('auto-type', { entry: this.model });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user