]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
bf8dddd
)
Fixes an issue with handling of large image files.
755/head
author
Abijeet
<redacted>
Sun, 18 Mar 2018 20:39:01 +0000
(
02:09
+0530)
committer
Abijeet
<redacted>
Sun, 18 Mar 2018 20:39:01 +0000
(
02:09
+0530)
Signed-off-by: Abijeet <redacted>
resources/assets/js/vues/components/dropzone.js
patch
|
blob
|
history
diff --git
a/resources/assets/js/vues/components/dropzone.js
b/resources/assets/js/vues/components/dropzone.js
index 0f31bd5793363d4009b77d0fb1e5164671aa4e7d..3e6e6c73028f52a9e1df898e0027c4b888ae41c9 100644
(file)
--- a/
resources/assets/js/vues/components/dropzone.js
+++ b/
resources/assets/js/vues/components/dropzone.js
@@
-42,7
+42,7
@@
function mounted() {
}
if (xhr.status === 413) setMessage(trans('errors.server_upload_limit'));
-
if (errorMessage.file) setMessage(errorMessage.file[0]
);
+
else if (errorMessage.file) setMessage(errorMessage.file
);
});
}
});