loading : false,
+ afterLoad : false,
+
load : function (url, success)
{
+
+ this.afterLoad = success;
if (this.loading) {
return;
}
+
this.loading = true;
this.compiled = false;
var _t = this;
success : function (response) {
_t.loading = false;
_t.html = response.responseText;
- success && success();
+ _t.afterLoad && _t.afterLoad();
},
failure : function(response) {
Roo.log("Template failed to load from " + url);