From aca18656546da31eafb778ad968a729b6d665c73 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu <chm@odoo.com> Date: Fri, 11 Jul 2014 11:33:18 +0200 Subject: [PATCH] [FIX] website.seo: regexp doesn't match the object and object id --- addons/website/static/src/js/website.seo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/js/website.seo.js b/addons/website/static/src/js/website.seo.js index 7ba78a22748d..8d28237f9242 100644 --- a/addons/website/static/src/js/website.seo.js +++ b/addons/website/static/src/js/website.seo.js @@ -441,7 +441,7 @@ }, getMainObject: function () { var repr = $('html').data('main-object'); - var m = repr.match(/.+\((.+), (\d+)\)/); + var m = repr.match(/(.+)\((\d+),(.*)\)/); if (!m) { return null; } else { -- GitLab