Fixed "Mouse right click don't works correctly" (Closes #466)

+ small fixes
This commit is contained in:
RainLoop Team 2015-02-17 17:16:38 +04:00
parent e3064b10aa
commit e96f297def
12 changed files with 76 additions and 25 deletions

View file

@ -1262,13 +1262,16 @@
ComposePopupView.prototype.onShowWithDelay = function ()
{
if ('' === this.to())
if (!Globals.bMobileDevice)
{
this.to.focused(true);
}
else if (this.oEditor)
{
this.oEditor.focus();
if ('' === this.to())
{
this.to.focused(true);
}
else if (this.oEditor)
{
this.oEditor.focus();
}
}
this.resizerTrigger();