add support for onLoad on template
[roojs1] / roojs-debug.js
index 6abd31e..fb819f7 100644 (file)
@@ -4762,7 +4762,7 @@ Roo.Template.prototype = {
                 _t.url = false;
                 _t.compile();
                 if (_t.onLoad) {
-                    _t.onload();
+                    _t.onLoad();
                 }
              },
             failure : function(response) {