summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorddm@openerp.com <>2014-01-21 15:20:52 +0100
committerddm@openerp.com <>2014-01-21 15:20:52 +0100
commitcccdc808f9db79a7298fb2604b762fcfec10b1fd (patch)
tree70afbd200e458b0505f52b79cc0447962a882722
parenta6ad36ef89bdfd51df7eba4e71c1eb464a7aefd6 (diff)
[FIX] SEO bug + label
bzr revid: ddm@openerp.com-20140121142052-3u9dcu995p1tdu6b
-rw-r--r--addons/website/static/src/js/website.seo.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/website/static/src/js/website.seo.js b/addons/website/static/src/js/website.seo.js
index 9f1745fc1df..7898b96782f 100644
--- a/addons/website/static/src/js/website.seo.js
+++ b/addons/website/static/src/js/website.seo.js
@@ -25,7 +25,10 @@
} : htmlPage.isInBody(keyword) ? {
title: 'label label-info',
description: "This keyword is used in the page content."
- } : { title: "", description: "" };
+ } : {
+ title: 'label label-default',
+ description: "This keyword is not used anywhere on the page."
+ };
}
website.seo.Suggestion = openerp.Widget.extend({
@@ -387,7 +390,7 @@
if (!self.canEditDescription) {
$modal.find('textarea[name=seo_page_description]').attr('disabled', true);
}
- if (!self.canEditTitle && !canEditDescription && !canEditKeywords) {
+ if (!self.canEditTitle && !self.canEditDescription && !self.canEditKeywords) {
$modal.find('button[data-action=update]').attr('disabled', true);
}
});