mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Fixed translation issue (Closes #263)
This commit is contained in:
parent
7dc9441852
commit
b83ed4b1ce
30 changed files with 207 additions and 201 deletions
|
|
@ -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']
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue