mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Release commit
This commit is contained in:
parent
86f855fa5b
commit
b01f298b7b
13 changed files with 121 additions and 42 deletions
|
|
@ -203,6 +203,10 @@
|
|||
return 0 < Globals.popupVisibilityNames().length;
|
||||
}, this);
|
||||
|
||||
Globals.popupVisibility.subscribe(function (bValue) {
|
||||
Globals.$html.toggleClass('rl-modal', bValue);
|
||||
});
|
||||
|
||||
// keys
|
||||
Globals.keyScopeReal = ko.observable(Enums.KeyState.All);
|
||||
Globals.keyScopeFake = ko.observable(Enums.KeyState.All);
|
||||
|
|
|
|||
14
dev/External/ko.js
vendored
14
dev/External/ko.js
vendored
|
|
@ -287,7 +287,19 @@
|
|||
});
|
||||
},
|
||||
'update': function (oElement, fValueAccessor) {
|
||||
$(oElement).modal(ko.unwrap(fValueAccessor()) ? 'show' : 'hide');
|
||||
|
||||
var Globals = require('Common/Globals');
|
||||
|
||||
$(oElement).modal(!!ko.unwrap(fValueAccessor()) ? 'show' : 'hide');
|
||||
|
||||
if (Globals.$html.hasClass('rl-anim'))
|
||||
{
|
||||
Globals.$html.addClass('rl-modal-animation');
|
||||
_.delay(function () {
|
||||
Globals.$html.removeClass('rl-modal-animation');
|
||||
}, 400);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -101,10 +101,14 @@ html.rl-started-trigger.no-mobile .b-login-content .loginFormWrapper {
|
|||
}
|
||||
}
|
||||
|
||||
&.csstransitions.rl-modal.rl-modal-animation .popups {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&.csstransitions .modal.fade {
|
||||
|
||||
.transition(all 200ms ease-out);
|
||||
transform: scale(1.1);
|
||||
transform: scale(0.95);
|
||||
|
||||
&.in {
|
||||
transform: none;
|
||||
|
|
|
|||
|
|
@ -1308,6 +1308,7 @@
|
|||
});
|
||||
|
||||
Events.sub('window.resize.real', this.resizerTrigger);
|
||||
Events.sub('window.resize.real', _.debounce(this.resizerTrigger, 50));
|
||||
|
||||
if (this.dropboxEnabled())
|
||||
{
|
||||
|
|
@ -1328,6 +1329,13 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
window.setInterval(function () {
|
||||
if (self.modalVisibility() && self.oEditor)
|
||||
{
|
||||
self.oEditor.resize();
|
||||
}
|
||||
}, 5000);
|
||||
};
|
||||
|
||||
ComposePopupView.prototype.driveCallback = function (sAccessToken, oData)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue