From: Alan Knowles Date: Fri, 6 Apr 2012 15:35:45 +0000 (+0800) Subject: Roo/Template.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b6b1bdecc3019a212d2a09c8a9c42ce5504c67d8 Roo/Template.js --- diff --git a/Roo/Template.js b/Roo/Template.js index c7358a8a6c..7a4dedc102 100644 --- a/Roo/Template.js +++ b/Roo/Template.js @@ -108,9 +108,7 @@ Roo.Template.prototype = { }, loading : false, - - afterLoad : false, - + load : function () { @@ -130,8 +128,7 @@ Roo.Template.prototype = { _t.loading = false; _t.html = response.responseText; _t.url = false; - _t.afterLoad && _t.afterLoad(); - }, + }, failure : function(response) { Roo.log("Template failed to load from " + url); _t.loading = false;