diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-11-04 15:00:30 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-11-04 16:10:44 +0100 |
| commit | 7a704aaba6905a82f69f503f6d881dbe4cb63ac6 (patch) | |
| tree | 79e23939ad92e52d81a6a7fbe7757db4a2eda7b0 /addons/web_editor/static/src/js/widgets.js | |
| parent | f3ade95862e5effa2b8cc46c8d953d84e1116495 (diff) | |
[FIX] web_editor: don't change the image style when change src
Diffstat (limited to 'addons/web_editor/static/src/js/widgets.js')
| -rw-r--r-- | addons/web_editor/static/src/js/widgets.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/widgets.js b/addons/web_editor/static/src/js/widgets.js index 6dcd47ee802..97c171f0950 100644 --- a/addons/web_editor/static/src/js/widgets.js +++ b/addons/web_editor/static/src/js/widgets.js @@ -268,6 +268,7 @@ var ImageDialog = Widget.extend({ this.accept = this.options.accept || this.options.document ? "*/*" : "image/*"; this.domain = this.options.domain || ['|', ['mimetype', '=', false], ['mimetype', this.options.document ? 'not in' : 'in', ['image/gif', 'image/jpe', 'image/jpeg', 'image/jpg', 'image/gif', 'image/png']]]; this.parent = parent; + this.old_media = media; this.media = media; this.images = []; this.page = 0; |
