[FIX] website.seo: regexp doesn't match the object and object id
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user