mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Release commit
This commit is contained in:
parent
19f089d0bf
commit
053fd1c60b
5 changed files with 49 additions and 64 deletions
|
|
@ -1170,6 +1170,8 @@
|
|||
{
|
||||
self.setSignatureFromIdentity(oIdentity);
|
||||
}
|
||||
|
||||
self.setFocusInPopup();
|
||||
});
|
||||
}
|
||||
else if (Enums.ComposeType.Empty === sComposeType)
|
||||
|
|
@ -1192,6 +1194,8 @@
|
|||
{
|
||||
self.setSignatureFromIdentity(oIdentity);
|
||||
}
|
||||
|
||||
self.setFocusInPopup();
|
||||
});
|
||||
}
|
||||
else if (Utils.isNonEmptyArray(oMessageOrArray))
|
||||
|
|
@ -1214,6 +1218,8 @@
|
|||
{
|
||||
self.setSignatureFromIdentity(oIdentity);
|
||||
}
|
||||
|
||||
self.setFocusInPopup();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -1261,12 +1267,13 @@
|
|||
this.resizerTrigger();
|
||||
};
|
||||
|
||||
ComposePopupView.prototype.onShowWithDelay = function ()
|
||||
ComposePopupView.prototype.setFocusInPopup = function ()
|
||||
{
|
||||
if (!Globals.bMobileDevice)
|
||||
{
|
||||
if ('' === this.to())
|
||||
{
|
||||
this.to.focused(false);
|
||||
this.to.focused(true);
|
||||
}
|
||||
else if (this.oEditor)
|
||||
|
|
@ -1274,7 +1281,11 @@
|
|||
this.oEditor.focus();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
ComposePopupView.prototype.onShowWithDelay = function ()
|
||||
{
|
||||
this.setFocusInPopup();
|
||||
this.resizerTrigger();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue