Roo/form/ComboBoxArray.js
[roojs1] / Roo / DomTemplate.js
index 7f76a31..a971190 100644 (file)
@@ -184,7 +184,7 @@ Roo.extend(Roo.DomTemplate, Roo.Template, {
         
         if (!tpl.attr) {
             // just itterate children..
-            this.iterChild(node,this.compileNode)
+            this.iterChild(node,this.compileNode);
             return;
         }
         tpl.uid = this.id++;
@@ -195,8 +195,8 @@ Roo.extend(Roo.DomTemplate, Roo.Template, {
             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);
         }
         
@@ -354,7 +354,7 @@ Roo.extend(Roo.DomTemplate, Roo.Template, {
         
         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) {