diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index 41ef6bf99..93e6968a3 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -1324,7 +1324,7 @@ ComposePopupView.prototype.onMessageUploadAttachments = function(sResult, oData) { for (sTempName in oData.Result) { - if (Utils.has(oData.Result, oData.Result)) + if (Utils.has(oData.Result, sTempName)) { oAttachment = this.getAttachmentById(oData.Result[sTempName]); if (oAttachment)