[FIX] show error messge when we move recored in kanban.
bzr revid: tpa@tinyerp.com-20130816130710-ec5x1k7tn86dejk1
This commit is contained in:
parent
81e028b791
commit
73ff1e657d
|
@ -436,7 +436,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|
|||
new_group.do_save_sequences();
|
||||
}).fail(function(error, evt) {
|
||||
evt.preventDefault();
|
||||
alert(_t("An error has occured while moving the record to this group: ") + data.message);
|
||||
alert(_t("An error has occured while moving the record to this group: ") + error.data.message);
|
||||
self.do_reload(); // TODO: use draggable + sortable in order to cancel the dragging when the rcp fails
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue