From 6ad3cd3a05c8dd0b133db2e9149bb86801b9ef78 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 6 Apr 2012 23:30:02 +0800 Subject: [PATCH] Roo/Template.js --- Roo/Template.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Roo/Template.js b/Roo/Template.js index d39cf94bc5..121b462508 100644 --- a/Roo/Template.js +++ b/Roo/Template.js @@ -67,11 +67,7 @@ Roo.Template.prototype = { applyTemplate : function(values){ try { _t= this; - if (this.url) { - this.afterLoad = function () { _t.applyTemplate(values); }; - this.load(); - return; - } + if(this.compiled){ return this.compiled(values); } -- 2.39.2