diff options
Diffstat (limited to 'addons/web_editor/static/src/js/translator.js')
| -rw-r--r-- | addons/web_editor/static/src/js/translator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/translator.js b/addons/web_editor/static/src/js/translator.js index b9ed671020d..39efbe1db2f 100644 --- a/addons/web_editor/static/src/js/translator.js +++ b/addons/web_editor/static/src/js/translator.js @@ -319,7 +319,7 @@ if (edit_translations) { this.action = this.action.replace(/[$?]edit_translations[^&?]+/, ''); }); - $('title').html($('title').html().replace(/<span data-oe-translation-id.+?>(.+?)<\/span>/, '\$1')); + $('title').html($('title').html().replace(/<span data-oe-model.+?>(.+?)<\/span>/, '\$1')); }); } |
