diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-02-12 20:26:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 20:26:26 +0100 |
commit | 39ba588e16e4559e9cbb4d579e1bd72fe118731b (patch) | |
tree | 7b0cec98422fd884beddbfcaeef3c8f9e1a9bd16 /apps | |
parent | ee4b2925b69958ef546b5021d274bbf13fa89882 (diff) | |
parent | af4139ce64fe620327d856c36c79cb7d82f8cdc2 (diff) | |
download | nextcloud-server-39ba588e16e4559e9cbb4d579e1bd72fe118731b.tar.gz nextcloud-server-39ba588e16e4559e9cbb4d579e1bd72fe118731b.zip |
Merge pull request #19431 from nextcloud/bugfix/noid/upload-fail-filename
Show proper file name when fetching details fails
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 01624975c1a..38b8dc54923 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2949,8 +2949,8 @@ deferred.resolve(status, data); }) .fail(function(status) { - OC.Notification.show(t('files', 'Could not create file "{file}"', - {file: name}), {type: 'error'} + OCP.Toast.error( + t('files', 'Could not fetch file details "{file}"', { file: fileName }) ); deferred.reject(status); }); |