[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
This commit is contained in:
Xavier Morel
2011-11-23 10:52:32 +01:00
parent d00008c994
commit f8f8fc7b07
@@ -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();
});
});
}
});