mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-20 06:56:40 +02:00
trigger auto-type change on item select
This commit is contained in:
parent
0c6f8bcf00
commit
09ccfdf038
|
@ -76,6 +76,7 @@ var AutoTypeHintView = Backbone.View.extend({
|
|||
var pos = this.input.selectionEnd || this.input.value.length;
|
||||
this.input.value = this.input.value.substr(0, pos) + text + this.input.value.substr(pos);
|
||||
this.input.selectionStart = this.input.selectionEnd = pos + text.length;
|
||||
$(this.input).trigger('input');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user