[IMP] better error message when kanban crash
bzr revid: fp@tinyerp.com-20121221193029-at1o607wd0blf6cd
This commit is contained in:
parent
e07533cba7
commit
1e4ed7232f
|
@ -415,7 +415,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|
||||||
new_group.do_save_sequences();
|
new_group.do_save_sequences();
|
||||||
}).fail(function(error, evt) {
|
}).fail(function(error, evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
alert(_t("An error has occured while moving the record to this group."));
|
alert(_t("An error has occured while moving the record to this group: ") + data.fault_code);
|
||||||
self.do_reload(); // TODO: use draggable + sortable in order to cancel the dragging when the rcp fails
|
self.do_reload(); // TODO: use draggable + sortable in order to cancel the dragging when the rcp fails
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue