fixed another issues in templates.js causing grief in topics admin view

v1.18.x
psychobunny 12 years ago
parent c34f4e451a
commit f732ab4d5a

@ -252,8 +252,9 @@
} else if (data[d].constructor == Array) {
namespace += d + '.';
regex = makeRegex(d),
block = getBlock(regex, namespace, template)
var regex = makeRegex(d),
block = getBlock(regex, namespace.substring(0, namespace.length-1), template);
if (block == null) {
namespace = namespace.replace(d + '.', '');
continue;

Loading…
Cancel
Save