summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-06-07 13:51:16 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-06-07 13:53:16 +0200
commit77db6d3dbd621453e368637d2146ed5ac96066cf (patch)
tree71cf2b34e14e1e691c6197da0633fd78312e32de /apps/files/js
parentbf917d7063ed9328a8d367343ac2a6574917ddfb (diff)
downloadnextcloud-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.js3
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