PDA

View Full Version : Typo Error in UpdateManager.formUpdate()



nassaja-rus
3 Jun 2007, 4:39 AM
In 1.0 - 1.1 versions



formUpdate : function(form, url, reset, callback){
if(this.fireEvent("beforeupdate", this.el, form, url) !== false){
if(typeof url == "function"){
url = url.call(this);
}
this.transaction = Ext.Ajax.request({
form:Ext.getDom(form),
url:url,
success: this.successDelegate,
failure: this.failureDelegate,
timeout: (this.timeout*1000),
argument: {"url": url, "form": formEl, "callback": callback, "reset": reset}
});
this.showLoading.defer(1, this);
}
},


"form": formEl - produce error formEl not defined, may must be



argument: {"url": url, "form": form, "callback": callback, "reset": reset} ? This work for me.

jack.slocum
3 Jun 2007, 4:44 AM
Thanks, I updated it.