[FIX] website.seo: regexp doesn't match the object and object id

This commit is contained in:
Christophe Matthieu
2014-07-11 11:33:18 +02:00
parent 1eee1d2c51
commit aca1865654
+1 -1
View File
@@ -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 {