mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix extra change event firing which was breaking multiple file uploads
This commit is contained in:
parent
bc9c486e03
commit
db1077e3ed
@ -266,11 +266,8 @@ var et2_file = et2_inputWidget.extend(
|
||||
},
|
||||
attachToDOM: function() {
|
||||
this._super.apply(this, arguments);
|
||||
// Override parent's behaviour to fire legacy change when finished
|
||||
if (this.onchange)
|
||||
{
|
||||
this.input.unbind("change.et2_inputWidget");
|
||||
}
|
||||
// Override parent's change, file widget will fire change when finished uploading
|
||||
this.input.unbind("change.et2_inputWidget");
|
||||
},
|
||||
getValue: function() {
|
||||
var value = this.options.value ? this.options.value : this.input.val();
|
||||
|
Loading…
Reference in New Issue
Block a user