mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
1.10.4.183
--- Fixes: New login form style display problem since version 1.10.4 (#1196) Collapse the TO: field in message view (#1199) Paste with HTML tags fails (#1193)
This commit is contained in:
parent
224362299a
commit
0bbb2f14a4
21 changed files with 1947 additions and 140 deletions
|
|
@ -256,6 +256,7 @@ class AbstractApp extends AbstractBoot
|
|||
if (logout && window.location.href !== customLogoutLink)
|
||||
{
|
||||
_.delay(() => {
|
||||
|
||||
if (inIframe && window.parent)
|
||||
{
|
||||
window.parent.location.href = customLogoutLink;
|
||||
|
|
@ -264,6 +265,9 @@ class AbstractApp extends AbstractBoot
|
|||
{
|
||||
window.location.href = customLogoutLink;
|
||||
}
|
||||
|
||||
$win.trigger('rl.tooltips.diactivate');
|
||||
|
||||
}, Magics.Time100ms);
|
||||
}
|
||||
else
|
||||
|
|
@ -273,6 +277,7 @@ class AbstractApp extends AbstractBoot
|
|||
routeOff();
|
||||
|
||||
_.delay(() => {
|
||||
|
||||
if (inIframe && window.parent)
|
||||
{
|
||||
window.parent.location.reload();
|
||||
|
|
@ -281,6 +286,9 @@ class AbstractApp extends AbstractBoot
|
|||
{
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
$win.trigger('rl.tooltips.diactivate');
|
||||
|
||||
}, Magics.Time100ms);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
dev/External/ko.js
vendored
9
dev/External/ko.js
vendored
|
|
@ -208,6 +208,15 @@ ko.bindingHandlers.tooltip = {
|
|||
{
|
||||
element.__opentip.setContent(sValue);
|
||||
}
|
||||
|
||||
$win.on('rl.tooltips.diactivate', () => {
|
||||
element.__opentip.hide();
|
||||
element.__opentip.deactivate();
|
||||
});
|
||||
|
||||
$win.on('rl.tooltips.activate', () => {
|
||||
element.__opentip.activate();
|
||||
});
|
||||
}
|
||||
},
|
||||
update: (element, fValueAccessor) => {
|
||||
|
|
|
|||
|
|
@ -182,12 +182,15 @@ html.rl-no-preview-pane {
|
|||
.informationShort {
|
||||
margin-left: 5px;
|
||||
margin-right: 50px;
|
||||
|
||||
a {
|
||||
.g-ui-link;
|
||||
}
|
||||
|
||||
&.-bottom {
|
||||
margin-right: 5px;
|
||||
max-height: 100px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
html.rl-mobile &{
|
||||
|
|
|
|||
|
|
@ -100,3 +100,13 @@ svg-icon {
|
|||
transform: scale(.95);
|
||||
}
|
||||
}
|
||||
|
||||
html.glass {
|
||||
input:-webkit-autofill,
|
||||
input:-webkit-autofill:hover,
|
||||
input:-webkit-autofill:focus,
|
||||
input:-webkit-autofill:active {
|
||||
-webkit-transition-delay: 9999s;
|
||||
-webkit-transition: color 9999s ease-out, background-color 9999s ease-out;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import {
|
|||
|
||||
import {StorageResultType, Notification, Magics} from 'Common/Enums';
|
||||
import {getNotification} from 'Common/Translator';
|
||||
import {$win} from 'Common/Globals';
|
||||
|
||||
import * as Settings from 'Storage/Settings';
|
||||
|
||||
|
|
@ -28,11 +29,13 @@ class LoginAdminView extends AbstractViewNext
|
|||
constructor() {
|
||||
super();
|
||||
|
||||
this.logoPowered = !!Settings.settingsGet('LoginPowered');
|
||||
this.loginPowered = !!Settings.settingsGet('LoginPowered');
|
||||
|
||||
this.mobile = !!Settings.appSettingsGet('mobile');
|
||||
this.mobileDevice = !!Settings.appSettingsGet('mobileDevice');
|
||||
|
||||
this.hideSubmitButton = !!Settings.appSettingsGet('hideSubmitButton');
|
||||
|
||||
this.login = ko.observable('');
|
||||
this.password = ko.observable('');
|
||||
|
||||
|
|
@ -79,9 +82,13 @@ class LoginAdminView extends AbstractViewNext
|
|||
}
|
||||
|
||||
this.submitRequest(true);
|
||||
$win.trigger('rl.tooltips.diactivate');
|
||||
|
||||
Remote.adminLogin((sResult, oData) => {
|
||||
|
||||
$win.trigger('rl.tooltips.diactivate');
|
||||
$win.trigger('rl.tooltips.activate');
|
||||
|
||||
if (StorageResultType.Success === sResult && oData && 'AdminLogin' === oData.Action)
|
||||
{
|
||||
if (oData.Result)
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ import {
|
|||
convertLangName, triggerAutocompleteInputChange
|
||||
} from 'Common/Utils';
|
||||
|
||||
import {$win} from 'Common/Globals';
|
||||
import {socialFacebook, socialGoogle, socialTwitter} from 'Common/Links';
|
||||
import {getNotification, getNotificationFromResponse, reload as translatorReload} from 'Common/Translator';
|
||||
|
||||
|
|
@ -45,6 +46,8 @@ class LoginUserView extends AbstractViewNext
|
|||
constructor() {
|
||||
super();
|
||||
|
||||
this.hideSubmitButton = !!Settings.appSettingsGet('hideSubmitButton');
|
||||
|
||||
this.welcome = ko.observable(!!Settings.settingsGet('UseLoginWelcomePage'));
|
||||
|
||||
this.email = ko.observable('');
|
||||
|
|
@ -59,7 +62,7 @@ class LoginUserView extends AbstractViewNext
|
|||
this.additionalCodeSignMe = ko.observable(false);
|
||||
|
||||
this.logoImg = trim(Settings.settingsGet('LoginLogo'));
|
||||
this.logoPowered = !!Settings.settingsGet('LoginPowered');
|
||||
this.loginPowered = !!Settings.settingsGet('LoginPowered');
|
||||
this.loginDescription = trim(Settings.settingsGet('LoginDescription'));
|
||||
|
||||
this.mobile = !!Settings.appSettingsGet('mobile');
|
||||
|
|
@ -251,12 +254,16 @@ class LoginUserView extends AbstractViewNext
|
|||
}
|
||||
|
||||
this.submitRequest(true);
|
||||
$win.trigger('rl.tooltips.diactivate');
|
||||
|
||||
const
|
||||
fLoginRequest = (sLoginPassword) => {
|
||||
|
||||
Remote.login((sResult, oData) => {
|
||||
|
||||
$win.trigger('rl.tooltips.diactivate');
|
||||
$win.trigger('rl.tooltips.activate');
|
||||
|
||||
if (StorageResultType.Success === sResult && oData && 'Login' === oData.Action)
|
||||
{
|
||||
if (oData.Result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue