mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +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
|
|
@ -634,6 +634,19 @@ Utils.getUploadErrorDescByCode = function (mCode)
|
|||
return sResult;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?} oObject
|
||||
* @param {string} sMethodName
|
||||
* @param {Array=} aParameters
|
||||
*/
|
||||
Utils.delegateRun = function (oObject, sMethodName, aParameters)
|
||||
{
|
||||
if (oObject && oObject[sMethodName])
|
||||
{
|
||||
oObject[sMethodName].apply(oObject, Utils.isArray(aParameters) ? aParameters : []);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?} oEvent
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue