[FIX] web_editor: don't change the image style when change src

This commit is contained in:
Christophe Matthieu
2015-11-04 16:10:44 +01:00
parent f3ade95862
commit 7a704aaba6
@@ -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;