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

@ -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']
;