mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
Remove triggers rl.tooltips.diactivate and rl.tooltips.activate
This commit is contained in:
parent
d1c06a8ece
commit
b634a50e0f
3 changed files with 0 additions and 15 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
import ko from 'ko';
|
import ko from 'ko';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
$win,
|
|
||||||
$htmlCL,
|
$htmlCL,
|
||||||
leftPanelDisabled,
|
leftPanelDisabled,
|
||||||
leftPanelType,
|
leftPanelType,
|
||||||
|
|
@ -146,8 +145,6 @@ class AbstractApp extends AbstractBoot {
|
||||||
} else {
|
} else {
|
||||||
location.href = customLogoutLink;
|
location.href = customLogoutLink;
|
||||||
}
|
}
|
||||||
|
|
||||||
$win.trigger('rl.tooltips.diactivate');
|
|
||||||
}, 100);
|
}, 100);
|
||||||
} else {
|
} else {
|
||||||
routeOff();
|
routeOff();
|
||||||
|
|
@ -160,8 +157,6 @@ class AbstractApp extends AbstractBoot {
|
||||||
} else {
|
} else {
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
$win.trigger('rl.tooltips.diactivate');
|
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ import { triggerAutocompleteInputChange } from 'Common/Utils';
|
||||||
|
|
||||||
import { StorageResultType, Notification } from 'Common/Enums';
|
import { StorageResultType, Notification } from 'Common/Enums';
|
||||||
import { getNotification } from 'Common/Translator';
|
import { getNotification } from 'Common/Translator';
|
||||||
import { $win } from 'Common/Globals';
|
|
||||||
|
|
||||||
import * as Settings from 'Storage/Settings';
|
import * as Settings from 'Storage/Settings';
|
||||||
|
|
||||||
|
|
@ -73,13 +72,9 @@ class LoginAdminView extends AbstractViewNext {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.submitRequest(true);
|
this.submitRequest(true);
|
||||||
$win.trigger('rl.tooltips.diactivate');
|
|
||||||
|
|
||||||
Remote.adminLogin(
|
Remote.adminLogin(
|
||||||
(sResult, oData) => {
|
(sResult, oData) => {
|
||||||
$win.trigger('rl.tooltips.diactivate');
|
|
||||||
$win.trigger('rl.tooltips.activate');
|
|
||||||
|
|
||||||
if (StorageResultType.Success === sResult && oData && 'AdminLogin' === oData.Action) {
|
if (StorageResultType.Success === sResult && oData && 'AdminLogin' === oData.Action) {
|
||||||
if (oData.Result) {
|
if (oData.Result) {
|
||||||
getApp().loginAndLogoutReload(true);
|
getApp().loginAndLogoutReload(true);
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ import {
|
||||||
|
|
||||||
import { convertLangName, triggerAutocompleteInputChange } from 'Common/Utils';
|
import { convertLangName, triggerAutocompleteInputChange } from 'Common/Utils';
|
||||||
|
|
||||||
import { $win } from 'Common/Globals';
|
|
||||||
import { getNotification, getNotificationFromResponse, reload as translatorReload } from 'Common/Translator';
|
import { getNotification, getNotificationFromResponse, reload as translatorReload } from 'Common/Translator';
|
||||||
|
|
||||||
import * as Plugins from 'Common/Plugins';
|
import * as Plugins from 'Common/Plugins';
|
||||||
|
|
@ -200,14 +199,10 @@ class LoginUserView extends AbstractViewNext {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.submitRequest(true);
|
this.submitRequest(true);
|
||||||
$win.trigger('rl.tooltips.diactivate');
|
|
||||||
|
|
||||||
const fLoginRequest = (sLoginPassword) => {
|
const fLoginRequest = (sLoginPassword) => {
|
||||||
Remote.login(
|
Remote.login(
|
||||||
(sResult, oData) => {
|
(sResult, oData) => {
|
||||||
$win.trigger('rl.tooltips.diactivate');
|
|
||||||
$win.trigger('rl.tooltips.activate');
|
|
||||||
|
|
||||||
if (StorageResultType.Success === sResult && oData && 'Login' === oData.Action) {
|
if (StorageResultType.Success === sResult && oData && 'Login' === oData.Action) {
|
||||||
if (oData.Result) {
|
if (oData.Result) {
|
||||||
if (oData.TwoFactorAuth) {
|
if (oData.TwoFactorAuth) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue