From f8f8fc7b075af69c842c987010d7d0c52645b17b Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 23 Nov 2011 10:52:32 +0100 Subject: [PATCH] [FIX] correctly refresh application tiles after installing an application from the first display Now displays the 'link' tiles after installation finishes bzr revid: xmo@openerp.com-20111123095232-t4vhfmchm3tlui8r --- addons/web_dashboard/static/src/js/dashboard.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/web_dashboard/static/src/js/dashboard.js b/addons/web_dashboard/static/src/js/dashboard.js index 157abb3e7ba..deba1529aa3 100644 --- a/addons/web_dashboard/static/src/js/dashboard.js +++ b/addons/web_dashboard/static/src/js/dashboard.js @@ -521,10 +521,13 @@ openerp.web_dashboard.ApplicationTiles = openerp.web.View.extend({ run_configuration_wizards: function () { var self = this; new openerp.web.DataSet(this, 'res.config').call('start', [[]], function (action) { - $.unblockUI(); self.widget_parent.widget_parent.do_action(action, function () { openerp.webclient.do_reload(); }); + self.$element.empty(); + self.do_display_root_menu().then(function () { + $.unblockUI(); + }); }); } });