From 376df4906bc88a5bc987be0e17ae624bd63b2dac Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 6 Apr 2012 23:28:32 +0800 Subject: [PATCH] Roo/Template.js --- Roo/Template.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Roo/Template.js b/Roo/Template.js index a04b2612e7..b415e80e55 100644 --- a/Roo/Template.js +++ b/Roo/Template.js @@ -111,10 +111,9 @@ Roo.Template.prototype = { afterLoad : false, - load : function (success) + load : function () { - - this.afterLoad = success; + if (this.loading) { return; } @@ -124,7 +123,7 @@ Roo.Template.prototype = { var _t = this; var cx = new Roo.data.Connection(); cx.request({ - url : url, + url : this.url, method : 'GET', success : function (response) { _t.loading = false; -- 2.39.2