Skip to content

Commit

Permalink
Show orig messages too if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanThompson committed Mar 5, 2017
1 parent 6c15bb5 commit 198453e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $(function () {
file.previewElement.querySelector("[data-dz-uploadprogress]").setAttribute('value', 100);
file.previewElement.querySelector('[data-dz-uploadprogress]').setAttribute('class', 'progress progress-danger');

alert(message.error);
alert(message.error ? message.error : message);
});

// When all files are processed.
Expand Down

0 comments on commit 198453e

Please sign in to comment.