[FIX] remove custom error handling on saving kanban records
hides actual error (which may be e.g. validation error) and adds no value bzr revid: xmo@openerp.com-20120629131611-r1ydn6b0f8agi85n
This commit is contained in:
@@ -236,8 +236,6 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
|
||||
record.do_reload();
|
||||
new_group.do_save_sequences();
|
||||
}).fail(function(error, evt) {
|
||||
evt.preventDefault();
|
||||
alert("An error has occured while moving the record to this group.");
|
||||
self.do_reload(); // TODO: use draggable + sortable in order to cancel the dragging when the rcp fails
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user