diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2015-12-01 17:31:37 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2015-12-02 10:00:16 +0100 |
| commit | 1e9ce28f7b3244d5c88ac5e78caaaf27fd5116cc (patch) | |
| tree | 926ec3947a58f7d75528b45354b4d2af2d4d8d10 /addons/web_editor/static/src/js | |
| parent | 5c6c91bb8165b9ac694da442fffe88ff923842a1 (diff) | |
[FIX] website, web_editor: open in new window
The field `isNewWindow` is used to open a link in a new tab. In this
case, the field newWindow was used, and therefore the property was not
applied.
opw-657510
Diffstat (limited to 'addons/web_editor/static/src/js')
| -rw-r--r-- | addons/web_editor/static/src/js/widgets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/widgets.js b/addons/web_editor/static/src/js/widgets.js index 97c171f0950..7e13a27f8e5 100644 --- a/addons/web_editor/static/src/js/widgets.js +++ b/addons/web_editor/static/src/js/widgets.js @@ -1079,7 +1079,7 @@ var LinkDialog = Dialog.extend({ return this.get_data() .then(function (url, new_window, label, classes) { self.data.url = url; - self.data.newWindow = new_window; + self.data.isNewWindow = new_window; self.data.text = label; self.data.className = classes.replace(/\s+/gi, ' ').replace(/^\s+|\s+$/gi, ''); |
