From b7ff0d44d8859ee363f8afd620bf0182c626ddbc Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Thu, 19 Feb 2015 17:12:29 +0100 Subject: apply backslash fix to _setCurrentDir --- apps/files/js/filelist.js | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files/js/filelist.js') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index c5c665cee77..e5634323ef1 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1009,6 +1009,7 @@ * @param changeUrl true to also update the URL, false otherwise (default) */ _setCurrentDir: function(targetDir, changeUrl) { + targetDir = targetDir.replace(/\\/g, '/'); var previousDir = this.getCurrentDirectory(), baseDir = OC.basename(targetDir); -- cgit v1.2.3