[FIX]Fixed the issue of pad button not rendered when deletes a pad from the attachment area.

bzr revid: msh@tinyerp.com-20120529074017-6woyh00mz8fl18v0
This commit is contained in:
msh-openerp 2012-05-29 13:10:17 +05:30
parent 08dc983f36
commit 0777583ac9
1 changed files with 1 additions and 0 deletions

View File

@ -802,6 +802,7 @@ openerp.web.form.SidebarAttachments = openerp.web.OldWidget.extend({
ids: [parseInt($e.attr('data-id'))]
}, function(r) {
$e.parent().remove();
self.do_update()
self.do_notify("Delete an attachment", "The attachment '" + name + "' has been deleted");
});
}