diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-06-17 15:43:56 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-06-17 15:43:56 +0200 |
| commit | 3742b1ab3f5306e0dddb3d88d540c49b5e1a5bdd (patch) | |
| tree | 7b294c305fbf1de787c01372f4e7820ce77c564d /addons/website/static/src/js/website.editor.js | |
| parent | b4cbac3cba20f9e8e3956c7104bd6589d78f953d (diff) | |
[FIX] website: jquery attrbutes assignation is not supported by Firefox
Happens when trying to change an image in a a banner block
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index fcb957cafda..6ed5f1145b8 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -1504,7 +1504,7 @@ url: this.link }); this.media.renameNode("img"); - this.media.$.attributes.src = this.link; + $(this.media).attr('src', this.link); return this._super(); }, clear: function () { |
