fixed bug: deleting attachments in compose always deleted the first attachment (deleteRow requires the row-index and not the row-object)

This commit is contained in:
Ralf Becker 2007-07-11 06:28:30 +00:00
parent 4bf278daea
commit 5f796a32ef

View File

@ -524,7 +524,7 @@ function fm_compose_reloadAttachments() {
}
function fm_compose_deleteAttachmentRow(_imageNode, _composeID, _attachmentID) {
_imageNode.parentNode.parentNode.parentNode.parentNode.deleteRow(_imageNode.parentNode.parentNode);
_imageNode.parentNode.parentNode.parentNode.parentNode.deleteRow(_imageNode.parentNode.parentNode.rowIndex);
xajax_doXMLHTTP("felamimail.ajaxfelamimail.deleteAttachment", _composeID, _attachmentID);
}