diff options
Diffstat (limited to 'apps/files/js/app.js')
-rw-r--r-- | apps/files/js/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js index 17e92de90dd..d46a0b8f9df 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -54,7 +54,7 @@ var showHidden = $('#showHiddenFiles').val() === "1"; this.$showHiddenFiles.prop('checked', showHidden); if ($('#fileNotFound').val() === "1") { - OC.Notification.showTemporary(t('files', 'File could not be found')); + OC.Notification.show(t('files', 'File could not be found'), {type: 'error'}); } this._filesConfig = new OC.Backbone.Model({ @@ -315,4 +315,3 @@ $(document).ready(function() { OCA.Files.App.initialize(); }); }); - |