diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-04-11 14:38:58 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-04-11 14:38:58 +0200 |
commit | f4a9ee3db4279a77dcf842a28041a4a5ec27d922 (patch) | |
tree | 269c072d1c0533431fbe1239323241854e194bf3 /apps/files/js | |
parent | 3f30c17549252ae15c2b26a6d7e9eebc7d7268d1 (diff) | |
download | nextcloud-server-f4a9ee3db4279a77dcf842a28041a4a5ec27d922.tar.gz nextcloud-server-f4a9ee3db4279a77dcf842a28041a4a5ec27d922.zip |
Use slient option to switch for regular file actions as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 03d530e357a..026b1044d3c 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -672,7 +672,7 @@ actionHandler: function (filename, context) { var dir = context.$file.attr('data-path') || context.fileList.getCurrentDirectory(); if (OCA.Files.App && OCA.Files.App.getActiveView() !== 'files') { - OCA.Files.App.setActiveView('files'); + OCA.Files.App.setActiveView('files', {silent: true}); OCA.Files.App.fileList.changeDirectory(OC.joinPaths(dir, filename), true, true); } else { context.fileList.changeDirectory(OC.joinPaths(dir, filename), true, false, parseInt(context.$file.attr('data-id'), 10)); |