mirror of https://github.com/keeweb/keeweb
fix #1779: don't copy passwords from the inline genertor in fields
parent
09fe1a4649
commit
6672b60d0f
|
@ -175,10 +175,12 @@ class GeneratorView extends View {
|
|||
}
|
||||
|
||||
btnOkClick() {
|
||||
if (!CopyPaste.simpleCopy) {
|
||||
CopyPaste.createHiddenInput(this.password);
|
||||
if (this.model.copy) {
|
||||
if (!CopyPaste.simpleCopy) {
|
||||
CopyPaste.createHiddenInput(this.password);
|
||||
}
|
||||
CopyPaste.copy(this.password);
|
||||
}
|
||||
CopyPaste.copy(this.password);
|
||||
this.emit('result', this.password);
|
||||
this.remove();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue