Changeset 6500 for sandbox/webservice/restclient
- Timestamp:
- 06/14/12 17:38:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/restclient/index.html
r6424 r6500 192 192 $('#attachment_id').prop('disabled',false); 193 193 var attachments = a_response.result.messages[0].msgAttachments; 194 var idxFile = 0;195 194 for (var j in attachments){ 196 var value = { ID: attachments[j]. pid,197 index: idxFile,198 name:attachments[j]. name,199 encoding:attachments[j]. encoding195 var value = { ID: attachments[j].attachmentID, 196 index: attachments[j].attachmentIndex, 197 name:attachments[j].attachmentName, 198 encoding:attachments[j].attachmentEncoding, 200 199 }; 201 $("#attachment_id").append("<option value='"+$.toJSON(value)+"'>"+attachments[j].name+"</option>"); 202 idxFile++; 200 $("#attachment_id").append("<option value='"+$.toJSON(value)+"'>"+attachments[j].attachmentName+"</option>"); 203 201 } 204 202 }
Note: See TracChangeset
for help on using the changeset viewer.