nextcloud-server/apps/files/js
Daniel Calviño Sánchez e15b43d976 Fix default toast message for failed uploads with HTTP/2
When an upload fails a toast is shown with either a specific message or
just the textual part of the HTTP error code (which comes from the
upload failure handler and set by "jQuery.ajax()". However, if there
is neither a message nor an error then the toast will show the default
message from the Toastify-js library, which is an undescriptive "Hi
there!".

When HTTP/2 is used Chromium does not provide the textual part of the
HTTP error code, so when an upload fails the toast can receive an empty
message and thus just show "Hi there!". Now an explicit message is
provided as a fallback to prevent that.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-14 16:07:35 +02:00
..
templates Fix mainfileinfodetailsview appending 2021-11-19 13:42:40 +00:00
app.js Merge pull request #30572 from nextcloud/fix/lint_warnings 2022-01-12 15:48:36 +01:00
breadcrumb.js Revert "Show the child folders in the breadcrumb menu when on a parent entry." 2022-04-29 13:03:49 +02:00
detailfileinfoview.js
detailsview.js
detailtabview.js Typing corrections 2022-01-11 17:12:55 +01:00
favoritesfilelist.js
favoritesplugin.js
file-upload.js Fix default toast message for failed uploads with HTTP/2 2022-06-14 16:07:35 +02:00
fileactions.js Explicitly close div element 2022-04-04 17:52:44 +00:00
fileactionsmenu.js adding action.filename to FileActions 2021-10-08 08:28:05 -01:00
fileinfomodel.js Typing corrections 2022-01-11 17:12:55 +01:00
filelist.js l10n: Delete apostrophe 2022-06-07 16:41:38 +02:00
filemultiselectmenu.js
files.js Explicitly close div element 2022-04-04 17:52:44 +00:00
filesummary.js
gotoplugin.js do not trigger events when setting active view in gotoplugin 2021-12-07 14:34:48 +01:00
jquery-visibility.js
jquery.fileupload.js refs #11864 handle empty dir drop in Files UI 2021-11-08 12:22:57 +01:00
keyboardshortcuts.js
mainfileinfodetailview.js adding action.filename to FileActions 2021-10-08 08:28:05 -01:00
merged-index.json
navigation.js
newfilemenu.js
operationprogressbar.js
recentfilelist.js
recentplugin.js
semaphore.js
sidebarpreviewmanager.js
sidebarpreviewtext.js Explicitly close div element 2022-04-04 17:52:44 +00:00
tagsplugin.js
templates.js Fix mainfileinfodetailsview appending 2021-11-19 13:42:40 +00:00
upload.js