diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-04-12 17:10:09 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-04-19 16:08:56 +0200 |
commit | 6c5696d3a84ff71fc5ddb53b490bbc77f5c119f5 (patch) | |
tree | 03aec364e0e7f342ab822b2896c8dde6c40ea480 /apps/files_sharing/js/app.js | |
parent | f8c55beaae9dc0e5fefb4aa8f78d3d71ea580d59 (diff) | |
download | nextcloud-server-6c5696d3a84ff71fc5ddb53b490bbc77f5c119f5.tar.gz nextcloud-server-6c5696d3a84ff71fc5ddb53b490bbc77f5c119f5.zip |
filter hidden files on the web interface
add checkbox to toggle show/hide hidden files
persist show hidden setting
fix settings menu layout
test ApiController::showHiddenFiles
don't show hidden files by default
Store config in Backbone model and inject it into FileList
Filter files only temporarily when rending the file list
Fix file rename validation
Diffstat (limited to 'apps/files_sharing/js/app.js')
-rw-r--r-- | apps/files_sharing/js/app.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js index af198208de2..6f12b3d4456 100644 --- a/apps/files_sharing/js/app.js +++ b/apps/files_sharing/js/app.js @@ -33,7 +33,8 @@ OCA.Sharing.App = { id: 'shares.self', scrollContainer: $('#app-content'), sharedWithUser: true, - fileActions: this._createFileActions() + fileActions: this._createFileActions(), + config: OCA.Files.App.getFilesConfig() } ); @@ -55,7 +56,8 @@ OCA.Sharing.App = { id: 'shares.others', scrollContainer: $('#app-content'), sharedWithUser: false, - fileActions: this._createFileActions() + fileActions: this._createFileActions(), + config: OCA.Files.App.getFilesConfig() } ); @@ -77,7 +79,8 @@ OCA.Sharing.App = { id: 'shares.link', scrollContainer: $('#app-content'), linksOnly: true, - fileActions: this._createFileActions() + fileActions: this._createFileActions(), + config: OCA.Files.App.getFilesConfig() } ); |