mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
MailSo update (quota)
This commit is contained in:
parent
67508db71b
commit
dde42c6190
9 changed files with 221 additions and 209 deletions
|
|
@ -473,7 +473,7 @@ RainLoopApp.prototype.quota = function ()
|
|||
{
|
||||
this.remote().quota(function (sResult, oData) {
|
||||
if (Enums.StorageResultType.Success === sResult && oData && oData.Result &&
|
||||
Utils.isArray(oData.Result) && 2 === oData.Result.length &&
|
||||
Utils.isArray(oData.Result) && 1 < oData.Result.length &&
|
||||
Utils.isPosNumeric(oData.Result[0], true) && Utils.isPosNumeric(oData.Result[1], true))
|
||||
{
|
||||
RL.data().userQuota(Utils.pInt(oData.Result[1]) * 1024);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue