Opened 3 years ago

Closed 3 years ago

#18948 closed defect (worksforme)

dojox.form.uploader oncomplete event.

Reported by: vtsuper Owned by:
Priority: undecided Milestone: 1.12.2
Component: General Version: 1.12.1
Keywords: Cc:
Blocked By: Blocking:

Description

dojox.form.uploader seems only works with connect() & onComplete(method 1) but not on() & 'complete'(method 2)

method 1 works but method 2 won't

P.S. I will remark either one method in my every testing

postCreate: function(){
	this.inherited(arguments);
	//method 1
	this.connect(this.file, "onComplete", function(){alert('test1');});
},
startup:function(){
	this.inherited(arguments);
	//method 2
	//this._handler=on(this.file, 'complete',function(){alert('test2');});
},

Change History (2)

comment:1 Changed 3 years ago by vtsuper

sorry , my mistake, pls remove it.

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.12.2
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.