Use slient option to switch for regular file actions as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
3f30c17549
commit
35efd6d0ff
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue