nextcloud/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 Make file actions work from sidebar 2015-08-12 17:30:20 +02:00
detailsview.js Fix rendering of the sidebar in Files app 2018-11-22 05:58:25 +01:00
detailtabview.js Typing corrections 2022-01-11 17:12:55 +01:00
favoritesfilelist.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
favoritesplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
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 Do not rerender the selection menu on show 2020-01-08 16:09:53 +01:00
files.js Explicitly close div element 2022-04-04 17:52:44 +00:00
filesummary.js l10n: Replace the apostrophe with double quotation 2021-05-06 14:45:33 +02:00
gotoplugin.js do not trigger events when setting active view in gotoplugin 2021-12-07 14:34:48 +01:00
jquery-visibility.js update jquery-visibility in files app 2015-08-17 09:39:21 +02:00
jquery.fileupload.js refs #11864 handle empty dir drop in Files UI 2021-11-08 12:22:57 +01:00
keyboardshortcuts.js Fixed many issues, clean up 2014-05-15 17:51:04 +02:00
mainfileinfodetailview.js adding action.filename to FileActions 2021-10-08 08:28:05 -01:00
merged-index.json Remove outdated legacy search scripts 2020-08-04 20:56:22 +02:00
navigation.js Add drop zone for favorites quick access in navigation 2019-02-01 01:45:03 +01:00
newfilemenu.js Fix container element for newFileMenu tooltip 2021-10-06 12:23:06 +02:00
operationprogressbar.js update tooltip content dynamically 2019-10-23 17:25:27 +02:00
recentfilelist.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
recentplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
semaphore.js Fix public upload by also load the semaphore method 2019-05-07 23:48:06 +02:00
sidebarpreviewmanager.js Always show full previews 2019-03-27 13:29:58 +01:00
sidebarpreviewtext.js Explicitly close div element 2022-04-04 17:52:44 +00:00
tagsplugin.js Fix favorite dark icon 2021-02-02 13:48:18 +01:00
templates.js Fix mainfileinfodetailsview appending 2021-11-19 13:42:40 +00:00
upload.js Improved Javascript docs for JSDoc 2014-10-31 13:43:30 +01:00