mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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:
parent
4bf278daea
commit
5f796a32ef
@ -524,7 +524,7 @@ function fm_compose_reloadAttachments() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fm_compose_deleteAttachmentRow(_imageNode, _composeID, _attachmentID) {
|
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);
|
xajax_doXMLHTTP("felamimail.ajaxfelamimail.deleteAttachment", _composeID, _attachmentID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user