mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
FIX: Regression with onFilesPicked
action (#25819)
This commit is contained in:
parent
35adf6046e
commit
10c83a80aa
|
@ -91,6 +91,10 @@ export default Component.extend({
|
|||
this.dialog.alert(message);
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeof this.onFilesPicked === "function") {
|
||||
this.onFilesPicked(files);
|
||||
}
|
||||
},
|
||||
|
||||
_haveAcceptedTypes(files) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user