Added "[labs] imap_show_login_alert" setting

Small fixes
This commit is contained in:
RainLoop Team 2015-01-08 18:00:03 +04:00
parent f749d77fff
commit 43d1794423
81 changed files with 132 additions and 48 deletions

View file

@ -128,6 +128,17 @@
margin-top: -2px;
margin-left: -2px;
}
&.white {
border-color: #fff;
border-top-color: #999;
&.animated {
border-color: transparent;
border-top-color: #fff;
}
}
}
html.no-cssanimations .icon-spinner {

View file

@ -75,6 +75,14 @@
this.submitRequest = ko.observable(false);
this.submitError = ko.observable('');
this.submitErrorAddidional = ko.observable('');
this.submitError.subscribe(function (sValue) {
if ('' === sValue)
{
this.submitErrorAddidional('');
}
}, this);
this.allowLanguagesOnLogin = Data.allowLanguagesOnLogin;
@ -178,6 +186,13 @@
{
this.submitError(Utils.getNotification(Enums.Notification.UnknownError));
}
else
{
if (oData.ErrorMessageAdditional)
{
this.submitErrorAddidional(oData.ErrorMessageAdditional);
}
}
}
else
{