X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2FTemplate.js;h=4f8e30281afe8a961bae09bb01001ee20415f749;hp=f188ca590fe4b221de06fb8a168d71615a80c495;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hpb=cd302670d2ec88ad6ed09e2ec52843d56b92dabd diff --git a/Roo/Template.js b/Roo/Template.js index f188ca590f..4f8e30281a 100644 --- a/Roo/Template.js +++ b/Roo/Template.js @@ -68,6 +68,7 @@ Roo.Template.prototype = { * @return {String} The HTML fragment */ applyTemplate : function(values){ + //Roo.log(["applyTemplate", values]); try { if(this.compiled){ @@ -128,10 +129,10 @@ Roo.Template.prototype = { _t.loading = false; _t.html = response.responseText; _t.url = false; - _this.compile(); + _t.compile(); }, failure : function(response) { - Roo.log("Template failed to load from " + url); + Roo.log("Template failed to load from " + _t.url); _t.loading = false; } });