From 16aeaacf8430e00d907802eba0f95b59de2e9c73 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Wed, 25 Apr 2012 12:11:50 +0200 Subject: [PATCH] [fix] problem in chart of account wizard lp bug: https://launchpad.net/bugs/944109 fixed bzr revid: nicolas.vanhoren@openerp.com-20120425101150-96ry93s16sbgdn3w --- addons/web/static/src/js/views.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 7579de3dc36..798c5bb1493 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -140,13 +140,13 @@ instance.web.ActionManager = instance.web.Widget.extend({ this.dialog_viewmanager.appendTo(this.dialog.$element); this.dialog.open(); } else { + this.dialog_stop(); + this.content_stop(); if(action.menu_id) { return this.getParent().do_action(action, function () { instance.webclient.menu.open_menu(action.menu_id); }); } - this.dialog_stop(); - this.content_stop(); this.inner_action = action; this.inner_viewmanager = new instance.web.ViewManagerAction(this, action); this.inner_viewmanager.appendTo(this.$element);