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) {
|
||||
// Delete Attachment
|
||||
deleteAttachment();
|
||||
dispose();
|
||||
} else if (e.getTarget() == bDelete) {
|
||||
// Delete individual entry and Return
|
||||
deleteAttachmentEntry();
|
||||
|
@ -676,6 +675,7 @@ public class WAttachment extends Window implements EventListener<Event>
|
|||
m_attachment.delete(true);
|
||||
m_attachment = null;
|
||||
}
|
||||
dispose();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue