summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/js/editor.js')
-rw-r--r--addons/web_editor/static/src/js/editor.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/js/editor.js b/addons/web_editor/static/src/js/editor.js
index 9b1a3da0acb..b365e82ca2e 100644
--- a/addons/web_editor/static/src/js/editor.js
+++ b/addons/web_editor/static/src/js/editor.js
@@ -44,7 +44,7 @@ editor.reload = function () {
if (location.search.indexOf("enable_editor") > -1) {
window.location.href = window.location.href.replace(/&?enable_editor(=[^&]*)?/g, '');
} else {
- window.location.reload();
+ window.location.reload(true);
}
};
@@ -160,4 +160,3 @@ editor.Class = Widget.extend({
return editor;
});
-