Roo/DomTemplate.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 11 Apr 2012 23:12:15 +0000 (07:12 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 11 Apr 2012 23:12:15 +0000 (07:12 +0800)
Roo/DomTemplate.js

index c27379a..86923d5 100644 (file)
@@ -259,12 +259,13 @@ Roo.extend(Roo.DomTemplate, Roo.Template, {
         
         try { 
             if(t.ifCall && !t.ifCall.call(this, values, parent)){
+                Roo.debug('if call on ' + t.value + ' return false')
                 return '';
             }
         } catch(e) {
             Roo.log("Xtemplate.applySubTemplate 'test': Exception thrown");
             Roo.log(e.toString());
-            Roo.log(t.ifCall);
+            Roo.log(t.value);
             return ''
         }
         try {