diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-06-07 13:51:16 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-06-07 13:53:16 +0200 |
commit | 77db6d3dbd621453e368637d2146ed5ac96066cf (patch) | |
tree | 71cf2b34e14e1e691c6197da0633fd78312e32de /apps/files/js | |
parent | bf917d7063ed9328a8d367343ac2a6574917ddfb (diff) | |
download | nextcloud-server-77db6d3dbd621453e368637d2146ed5ac96066cf.tar.gz nextcloud-server-77db6d3dbd621453e368637d2146ed5ac96066cf.zip |
Improve the UX for "not found" perma links
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js index 7a3d78f9663..fbfa510e07e 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -53,6 +53,9 @@ this.$showHiddenFiles = $('input#showhiddenfilesToggle'); var showHidden = $('#showHiddenFiles').val() === "1"; this.$showHiddenFiles.prop('checked', showHidden); + if ($('#fileNotFound').val() === "1") { + OC.Notification.showTemporary(t('files', 'File could not be found')); + } this._filesConfig = new OC.Backbone.Model({ showhidden: showHidden |