mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 23:17:02 +03:00
Renamed closeCommand() to close() because it has no command feature anymore
This commit is contained in:
parent
7f29f362f5
commit
fe0f6af9f4
38 changed files with 59 additions and 57 deletions
|
|
@ -28,7 +28,7 @@ class PluginPopupView extends rl.pluginPopupView
|
|||
afterShow() {}
|
||||
|
||||
// Happens when user hits Escape or Close key
|
||||
// return false to prevent closing, use closeCommand() manually
|
||||
// return false to prevent closing, use close() manually
|
||||
onClose() {}
|
||||
// Happens before animation transitionend
|
||||
onHide() {}
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ class TwoFactorAuthPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Two Factor Authentication',
|
||||
VERSION = '2.13',
|
||||
VERSION = '2.13.2',
|
||||
RELEASE = '2022-02-28',
|
||||
REQUIRED = '2.13.0',
|
||||
REQUIRED = '2.13.2',
|
||||
CATEGORY = 'Login',
|
||||
DESCRIPTION = 'Provides support for TOTP 2FA';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<header>
|
||||
<a class="close" href="#" data-bind="command: closeCommand">×</a>
|
||||
<a class="close" href="#" data-bind="click: close">×</a>
|
||||
<h3 data-i18n="POPUPS_TWO_FACTOR_TEST/TITLE_TEST_CODE"></h3>
|
||||
</header>
|
||||
<div class="modal-body form-horizontal">
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
<span data-i18n="POPUPS_TWO_FACTOR_CFG/BUTTON_ACTIVATE"></span>
|
||||
</a>
|
||||
<!--
|
||||
<a class="btn" data-bind="command: closeCommand, visible: viewEnable()">
|
||||
<a class="btn" data-bind="click: close, visible: viewEnable()">
|
||||
<i class="icon-ok" ></i>
|
||||
<span data-i18n="GLOBAL/DONE"></span>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue