IDEMPIERE-4209 Attachment button doesn't refresh when deleting the whole attachment
This commit is contained in:
parent
aecd058f25
commit
b886c593c8
|
@ -575,7 +575,6 @@ public class WAttachment extends Window implements EventListener<Event>
|
||||||
} else if (e.getTarget() == bDeleteAll) {
|
} else if (e.getTarget() == bDeleteAll) {
|
||||||
// Delete Attachment
|
// Delete Attachment
|
||||||
deleteAttachment();
|
deleteAttachment();
|
||||||
dispose();
|
|
||||||
} else if (e.getTarget() == bDelete) {
|
} else if (e.getTarget() == bDelete) {
|
||||||
// Delete individual entry and Return
|
// Delete individual entry and Return
|
||||||
deleteAttachmentEntry();
|
deleteAttachmentEntry();
|
||||||
|
@ -676,6 +675,7 @@ public class WAttachment extends Window implements EventListener<Event>
|
||||||
m_attachment.delete(true);
|
m_attachment.delete(true);
|
||||||
m_attachment = null;
|
m_attachment = null;
|
||||||
}
|
}
|
||||||
|
dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue