if (!tpl.attr) {
// just itterate children..
- this.iterChild(node,this.compileNode)
+ this.iterChild(node,this.compileNode);
return;
}
tpl.uid = this.id++;
node.parentNode.replaceChild(placeholder, node);
} else {
- var placeholder = Roo.DomHelper.document.createElement('span');
- placeholder.className = 'roo-tpl-' + value;
+ var placeholder = document.createElement('span');
+ placeholder.className = 'roo-tpl-' + tpl.value;
node.parentNode.replaceChild(placeholder, node);
}
try {
if(t.ifCall && !t.ifCall.call(this, values, parent)){
- Roo.log('if call on ' + t.value + ' return false')
+ Roo.log('if call on ' + t.value + ' return false');
return '';
}
} catch(e) {