[FIX]Refixed the issue of pad button not rendered when we delete the pad link.
bzr revid: msh@tinyerp.com-20120607083645-nyrk6vu3fjnmj5sv
This commit is contained in:
@@ -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");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user