Fixed overlay glitch

master-GE
Dario Chiappetta 2015-11-30 14:12:27 +01:00
parent 8cc2ad14b2
commit 7558080e54
2 changed files with 4 additions and 2 deletions

View File

@ -56,6 +56,8 @@ Clipperz.Base.extend(Clipperz.PM.UI.Components.Overlay, Object, {
'show': function (aMessage, showMask, showProgress, showOnCardDetail) {
if (showMask === true) {
this.showMask(showOnCardDetail);
} else {
this.hideMask();
}
if (showProgress === true) {

View File

@ -362,7 +362,7 @@ Clipperz.log("THE BROWSER IS OFFLINE");
user = null;
this.overlay().show("logging in");
this.overlay().show("logging in", false, false);
this.pages()['loginPage'].setProps({disabled:true});
if ('pin' in someCredentials) {
@ -447,7 +447,7 @@ Clipperz.log("THE BROWSER IS OFFLINE");
var unlockPage = this.pages()['unlockPage'];
var overlay = this.overlay();
overlay.show("validating…");
overlay.show("validating…", false);
passphrase = (aCredentialType=='PIN') ? Clipperz.PM.PIN.credentialsWithPIN(aCredential)['passphrase'] : aCredential;
getPassphraseDelegate = MochiKit.Base.partial(MochiKit.Async.succeed, passphrase);