Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-576354-msh into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-576354-msh/+merge/112530

Hello,

Fixed the issue of rpc_error not shown in kanban view, we have puted static 
message that "An error has occured while moving the record to this group.", if 
someone has modified the write method and puted his own message but he will not 
get that message as we have perevented default event, as on prevented default 
event crash manager will not be called.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-576354-msh/+merge/112530
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-576354-msh.
=== modified file 'addons/web_kanban/static/src/js/kanban.js'
--- addons/web_kanban/static/src/js/kanban.js	2012-02-22 11:37:18 +0000
+++ addons/web_kanban/static/src/js/kanban.js	2012-06-28 10:00:33 +0000
@@ -236,8 +236,6 @@
                 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
             });
         }

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to