summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/widgets
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2018-09-11 22:35:22 +0200
committerJeremy Kersten <jke@odoo.com>2018-09-13 08:17:09 +0200
commit57decbbed6d3d8899b09a58361ae9b30d39a9c03 (patch)
tree75d774b1191b33f31364bcb386b78a2169e1623f /addons/web_editor/static/src/js/widgets
parent4abfa435ea4c8604013dff73c8444f5e0241bde4 (diff)
[FIX] web_editor: fix and improve AltDialog
Ref label Add tooltip Fix title from modal -> before this commit, modal title was wrongly replaced by title of image :/ task-1878245
Diffstat (limited to 'addons/web_editor/static/src/js/widgets')
-rw-r--r--addons/web_editor/static/src/js/widgets/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/widgets/widgets.js b/addons/web_editor/static/src/js/widgets/widgets.js
index 02a08f711dc..dd0982bf3be 100644
--- a/addons/web_editor/static/src/js/widgets/widgets.js
+++ b/addons/web_editor/static/src/js/widgets/widgets.js
@@ -83,7 +83,7 @@ var AltDialog = Dialog.extend({
this.$editable = $editable;
this.media = media;
this.alt = ($(this.media).attr('alt') || "").replace(/&quot;/g, '"');
- this.title = ($(this.media).attr('title') || "").replace(/&quot;/g, '"');
+ this.tag_title = ($(this.media).attr('title') || "").replace(/&quot;/g, '"');
},
//--------------------------------------------------------------------------