mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Add onFocus callback to popups
This commit is contained in:
parent
fd2c2346a8
commit
04932fce63
28 changed files with 412 additions and 336 deletions
|
|
@ -97,7 +97,13 @@ PopupsActivateViewModel.prototype.onShow = function ()
|
|||
this.activateText('');
|
||||
this.activateText.isError(false);
|
||||
this.activationSuccessed(false);
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
PopupsActivateViewModel.prototype.onFocus = function ()
|
||||
{
|
||||
if (!this.activateProcess())
|
||||
{
|
||||
this.key.focus(true);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue