Roo/XTemplate.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 6 Apr 2012 15:41:30 +0000 (23:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 6 Apr 2012 15:41:30 +0000 (23:41 +0800)
Roo/XTemplate.js

index be65539..15c2b82 100644 (file)
@@ -10,7 +10,9 @@
  */
 Roo.XTemplate = function(){
     Roo.XTemplate.superclass.constructor.apply(this, arguments);
-  
+    if (this.html) {
+        this.preCompile();
+    }
 };