mirror of https://github.com/keeweb/keeweb.git
fix #1589: shortcut to copy OTP
This commit is contained in:
parent
a1da5ceabe
commit
9c18e2877b
|
@ -73,6 +73,7 @@ class DetailsView extends View {
|
||||||
);
|
);
|
||||||
this.onKey(Keys.DOM_VK_B, this.copyUserName, KeyHandler.SHORTCUT_ACTION);
|
this.onKey(Keys.DOM_VK_B, this.copyUserName, KeyHandler.SHORTCUT_ACTION);
|
||||||
this.onKey(Keys.DOM_VK_U, this.copyUrl, KeyHandler.SHORTCUT_ACTION);
|
this.onKey(Keys.DOM_VK_U, this.copyUrl, KeyHandler.SHORTCUT_ACTION);
|
||||||
|
this.onKey(Keys.DOM_VK_2, this.copyOtp, KeyHandler.SHORTCUT_OPT);
|
||||||
if (AutoType.enabled) {
|
if (AutoType.enabled) {
|
||||||
this.onKey(Keys.DOM_VK_T, () => this.autoType(), KeyHandler.SHORTCUT_ACTION);
|
this.onKey(Keys.DOM_VK_T, () => this.autoType(), KeyHandler.SHORTCUT_ACTION);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<div><span class="shortcut">{{cmd}}C</span> {{res 'setShCopyPass'}}</div>
|
<div><span class="shortcut">{{cmd}}C</span> {{res 'setShCopyPass'}}</div>
|
||||||
<div><span class="shortcut">{{cmd}}B</span> {{res 'setShCopyUser'}}</div>
|
<div><span class="shortcut">{{cmd}}B</span> {{res 'setShCopyUser'}}</div>
|
||||||
<div><span class="shortcut">{{cmd}}U</span> {{res 'setShCopyUrl'}}</div>
|
<div><span class="shortcut">{{cmd}}U</span> {{res 'setShCopyUrl'}}</div>
|
||||||
|
<div><span class="shortcut">{{alt}}2</span> {{res 'setShCopyOtp'}}</div>
|
||||||
{{#if autoTypeSupported}}
|
{{#if autoTypeSupported}}
|
||||||
<div><span class="shortcut">{{cmd}}T</span> {{res 'setShAutoType'}}</div>
|
<div><span class="shortcut">{{cmd}}T</span> {{res 'setShAutoType'}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -3,6 +3,7 @@ Release notes
|
||||||
##### v1.16.0 (TBD)
|
##### v1.16.0 (TBD)
|
||||||
`-` fixed a performance issue in searching entries
|
`-` fixed a performance issue in searching entries
|
||||||
`*` improved the "Show all file" checkbox behavior
|
`*` improved the "Show all file" checkbox behavior
|
||||||
|
`+` shortcut to copy OTP
|
||||||
|
|
||||||
##### v1.15.7 (2020-09-12)
|
##### v1.15.7 (2020-09-12)
|
||||||
`-` fix #1564: broken auto-type on some Linux installations
|
`-` fix #1564: broken auto-type on some Linux installations
|
||||||
|
|
Loading…
Reference in New Issue