diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-01-25 17:38:41 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-01-25 17:38:41 +0100 |
| commit | 88a87240a6aac348053ebd5fda8a2f551b1f2cd3 (patch) | |
| tree | 6fad54cedceeef44f853980f43f7109dc33d6949 /addons/web_editor/static/src/js/widgets | |
| parent | ccdbc16efc82449ac78a8069806dc6a44da3bcf8 (diff) | |
| parent | 8613724bfcc21edf56757d4f9a901b629c2e82fb (diff) | |
[MERGE] forward port branch saas-11.1 up to 8613724bfcc
Diffstat (limited to 'addons/web_editor/static/src/js/widgets')
| -rw-r--r-- | addons/web_editor/static/src/js/widgets/ace.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/widgets/ace.js b/addons/web_editor/static/src/js/widgets/ace.js index 2112468fa95..80bb28a4c01 100644 --- a/addons/web_editor/static/src/js/widgets/ace.js +++ b/addons/web_editor/static/src/js/widgets/ace.js @@ -192,7 +192,6 @@ var ViewEditor = Widget.extend({ */ start: function () { this.$viewEditor = this.$('#ace-view-editor'); - this.$editor = this.$('.ace_editor'); this.$typeSwitcherChoices = this.$('.o_ace_type_switcher_choice'); this.$typeSwitcherBtn = this.$('.o_ace_type_switcher > .dropdown-toggle'); @@ -210,6 +209,7 @@ var ViewEditor = Widget.extend({ this.aceEditor = window.ace.edit(this.$viewEditor[0]); this.aceEditor.setTheme('ace/theme/monokai'); + this.$editor = this.$('.ace_editor'); var refX = 0; var resizing = false; |
