summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2011-10-14 01:20:54 +0200
committerAntony Lesuisse <al@openerp.com>2011-10-14 01:20:54 +0200
commit57d635f44df6767c849bfaf6e8e9c27a31e9cfa3 (patch)
tree7b2634ba33fabbb9dbbef3d1e4db8c2fc1059aff /addons/web_dashboard/static/src
parent462f8085006ee36edbdc78755306154e7e557fa2 (diff)
[FIX] soft reload after module installation
lp bug: https://launchpad.net/bugs/873362 fixed bzr revid: al@openerp.com-20111013232054-2i5ptzfurjc429zw
Diffstat (limited to 'addons/web_dashboard/static/src')
-rw-r--r--addons/web_dashboard/static/src/js/dashboard.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web_dashboard/static/src/js/dashboard.js b/addons/web_dashboard/static/src/js/dashboard.js
index 0eac5623b45..74393684ad2 100644
--- a/addons/web_dashboard/static/src/js/dashboard.js
+++ b/addons/web_dashboard/static/src/js/dashboard.js
@@ -485,9 +485,8 @@ openerp.web_dashboard.ApplicationTiles = openerp.web.View.extend({
var self = this;
new openerp.web.DataSet(this, 'res.config').call('start', [[]], function (action) {
$.unblockUI();
- self.do_action(action, function () {
- // TODO: less brutal reloading
- window.location.reload(true);
+ self.widget_parent.widget_parent.do_action(action, function () {
+ openerp.webclient.do_reload();
});
});
}