Fixed translation issue (Closes #263)

This commit is contained in:
RainLoop Team 2014-07-31 17:29:11 +04:00
parent 7dc9441852
commit b83ed4b1ce
30 changed files with 207 additions and 201 deletions

View file

@ -313,7 +313,7 @@ FolderModel.prototype.initByJson = function (oJsonFolder)
this.fullNameHash = oJsonFolder.FullNameHash;
this.deep = oJsonFolder.FullNameRaw.split(this.delimiter).length - 1;
this.selectable = !!oJsonFolder.IsSelectable;
this.existen = !!oJsonFolder.IsExisten;
this.existen = !!oJsonFolder.IsExists;
this.subScribed(!!oJsonFolder.IsSubscribed);
this.type('INBOX' === this.fullNameRaw ? Enums.FolderType.Inbox : Enums.FolderType.User);

View file

@ -304,7 +304,8 @@ WebMailAjaxRemoteStorage.prototype.composeUploadExternals = function (fCallback,
/**
* @param {?Function} fCallback
* @param {Array} aExternals
* @param {string} sUrl
* @param {string} sAccessToken
*/
WebMailAjaxRemoteStorage.prototype.composeUploadDrive = function (fCallback, sUrl, sAccessToken)
{

View file

@ -1001,7 +1001,7 @@ PopupsComposeViewModel.prototype.driveCallback = function (sAccessToken, oData)
oData[window.google.picker.Response.DOCUMENTS] && oData[window.google.picker.Response.DOCUMENTS][0] &&
oData[window.google.picker.Response.DOCUMENTS][0]['id'])
{
var
var
self = this,
oRequest = new window.XMLHttpRequest()
;
@ -1050,14 +1050,14 @@ PopupsComposeViewModel.prototype.driveCallback = function (sAccessToken, oData)
break;
}
}
if (oItem && oItem['downloadUrl'])
{
self.addDriveAttachment(oItem, sAccessToken);
}
}
});
oRequest.send();
}
};
@ -1396,6 +1396,7 @@ PopupsComposeViewModel.prototype.addDropboxAttachment = function (oDropboxFile)
{
var
self = this,
oAttachment = null,
fCancelFunc = function (sId) {
return function () {
self.attachments.remove(function (oItem) {
@ -1404,7 +1405,6 @@ PopupsComposeViewModel.prototype.addDropboxAttachment = function (oDropboxFile)
};
},
iAttachmentSizeLimit = Utils.pInt(RL.settingsGet('AttachmentLimit')),
oAttachment = null,
mSize = oDropboxFile['bytes']
;