Selaa lähdekoodia

Fixed file upload error when entity too large

NGPixel 8 vuotta sitten
vanhempi
sitoutus
9693d1c3b6
2 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 0 0
      assets/js/app.js
  2. 1 1
      client/js/components/editor-file.js

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
assets/js/app.js


+ 1 - 1
client/js/components/editor-file.js

@@ -337,7 +337,7 @@ $('#btn-editor-file-upload input').on('change', (ev) => {
     },
 
     error: (error) => {
-      alerts.pushError(error.message, this.upload.file.name)
+      alerts.pushError('Upload error', error.message)
     },
 
     finish: () => {

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä