[REVERT] 2 previous revision, as it looks like that the fix causes more troubles...
authorDenis Ledoux <dle@openerp.com>
Thu, 1 May 2014 12:16:33 +0000 (14:16 +0200)
committerDenis Ledoux <dle@openerp.com>
Thu, 1 May 2014 12:16:33 +0000 (14:16 +0200)
bzr revid: dle@openerp.com-20140501121633-6umc2sxwi0h0lhay

addons/web/static/src/js/views.js

index 85b2df5..e3e9175 100644 (file)
@@ -1443,7 +1443,6 @@ instance.web.View = instance.web.Widget.extend({
                     console.error("Could not JSON.parse arguments", action_data.args);
                 }
             }
-            context.add({'active_model': dataset.model, 'active_ids': [record_id], 'active_id': record_id});
             args.push(context);
             return dataset.call_button(action_data.name, args).then(handler).then(function () {
                 if (instance.webclient) {