0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 01:10:28 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2022-08-15 16:16:18 +02:00
Ursprung 1f254732da
Commit 81680033a7

Datei anzeigen

@ -68,7 +68,7 @@ export default Controller.extend({
file: null,
filename: null,
});
document.getElementById('custom-wizard-file-upload').value = '';
document.getElementById("custom-wizard-file-upload").value = "";
},
@observes("importing", "destroying")
@ -83,7 +83,7 @@ export default Controller.extend({
actions: {
upload() {
document.getElementById('custom-wizard-file-upload').click();
document.getElementById("custom-wizard-file-upload").click();
},
clearFile() {
@ -102,7 +102,7 @@ export default Controller.extend({
if (maxFileSize < file.size) {
this.setMessage("error", "file_size_error");
this.set("file", null);
document.getElementById('custom-wizard-file-upload').value = '';
document.getElementById("custom-wizard-file-upload").value = "";
} else {
this.setProperties({
file,