summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/app.js
diff options
context:
space:
mode:
authorJesus Macias Portela <jesus.macias.portela@gmail.com>2015-12-03 12:35:49 +0100
committerJesus Macias Portela <jesus.macias.portela@gmail.com>2015-12-03 12:35:49 +0100
commitdcfbbe4737e9939b6c038f8e48b49957c66a52e8 (patch)
tree8163f2d7537708d7d5486a093bb3dab9cc63f9d2 /apps/files_external/js/app.js
parenta79ae4ae086c08c75a6d974966458251e2167347 (diff)
parente62b6c1617886b2cdd7553ea9b119c431e4eb363 (diff)
downloadnextcloud-server-dcfbbe4737e9939b6c038f8e48b49957c66a52e8.tar.gz
nextcloud-server-dcfbbe4737e9939b6c038f8e48b49957c66a52e8.zip
Merge branch 'master' into issue_20427
Diffstat (limited to 'apps/files_external/js/app.js')
-rw-r--r--apps/files_external/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/app.js b/apps/files_external/js/app.js
index 87507f93be3..d3ce2010ecd 100644
--- a/apps/files_external/js/app.js
+++ b/apps/files_external/js/app.js
@@ -54,7 +54,7 @@ OCA.External.App = {
// folder in the files app instead of opening it directly
fileActions.register('dir', 'Open', OC.PERMISSION_READ, '', function (filename, context) {
OCA.Files.App.setActiveView('files', {silent: true});
- OCA.Files.App.fileList.changeDirectory(context.$file.attr('data-path') + '/' + filename, true, true);
+ OCA.Files.App.fileList.changeDirectory(OC.joinPaths(context.$file.attr('data-path'), filename), true, true);
});
fileActions.setDefault('dir', 'Open');
return fileActions;