var b = Roo.get(document.body);
this.form = b.createChild({
tag: 'form',
- name: 'testForm',
method : this.method,
action : this.url,
target : this.newWindow ? '_new' : this.csvFrame.id,
(function() {
this.submit = true;
- document.testForm.submit();
+ this.form.dom.submit();
this.cleanup.defer(this.timeout || 30000,this);
}).defer(100, this);
this.csvFrame.src = Roo.SSL_SECURE_URL;
//}
document.body.appendChild(this.csvFrame);
+ Roo.get(this.csvFrame).on("load", this.success , this);
if(Roo.isIE){
document.frames[id].name = id;