mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 18:35:23 +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);
|
this.dialog.alert(message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof this.onFilesPicked === "function") {
|
||||||
|
this.onFilesPicked(files);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_haveAcceptedTypes(files) {
|
_haveAcceptedTypes(files) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user