diff --git a/addons/website/static/src/js/menu/seo.js b/addons/website/static/src/js/menu/seo.js index 2ac6d7fcded..60bc2318955 100644 --- a/addons/website/static/src/js/menu/seo.js +++ b/addons/website/static/src/js/menu/seo.js @@ -20,7 +20,7 @@ var Suggestion = Widget.extend({ template: 'website.seo_suggestion', xmlDependencies: ['/website/static/src/xml/website.seo.xml'], events: { - 'click .js_seo_suggestion': 'select', + 'click .o_seo_suggestion': 'select', }, init: function (parent, options) { @@ -106,7 +106,7 @@ var Keyword = Widget.extend({ }, start: function () { var self = this; - this.$('.js_seo_keyword_suggestion').empty(); + this.$('.o_seo_keyword_suggestion').empty(); this.suggestionList = new SuggestionList(this, { root: this.keyword, language: this.language, @@ -115,7 +115,7 @@ var Keyword = Widget.extend({ this.suggestionList.on('selected', this, function (word, language) { this.trigger('selected', word, language); }); - return this.suggestionList.appendTo(this.$('.js_seo_keyword_suggestion')).then(function() { + return this.suggestionList.appendTo(this.$('.o_seo_keyword_suggestion')).then(function() { self.htmlPage.on('title-changed', self, self._updateTitle); self.htmlPage.on('description-changed', self, self._updateDescription); self._updateTitle(); diff --git a/addons/website/static/src/scss/website.ui.scss b/addons/website/static/src/scss/website.ui.scss index 0acd4c36cd0..e2f4cf7f3b6 100644 --- a/addons/website/static/src/scss/website.ui.scss +++ b/addons/website/static/src/scss/website.ui.scss @@ -284,6 +284,10 @@ body .modal { } } } + + td.o_seo_keyword_suggestion span.o_seo_suggestion.badge { + cursor: pointer; + } } } diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml index 6bafe769f16..de1fc86fa23 100644 --- a/addons/website/static/src/xml/website.seo.xml +++ b/addons/website/static/src/xml/website.seo.xml @@ -32,14 +32,14 @@