forked from extern/egroupware
Alway prefer custom onFinishOne callback if it is set
This commit is contained in:
parent
160334a4ac
commit
eb795d523b
@ -665,7 +665,7 @@ export class et2_file extends et2_inputWidget
|
|||||||
event.data = this;
|
event.data = this;
|
||||||
|
|
||||||
// Callback
|
// Callback
|
||||||
if(typeof this.onFinishOne == 'function')
|
if(typeof this.onFinishOne == 'function' && !this.options.onFinishOne)
|
||||||
{
|
{
|
||||||
this.onFinishOne(event, response, name);
|
this.onFinishOne(event, response, name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user