[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:
msh-openerp
2012-06-07 14:06:45 +05:30
+1
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");
});
}