From 1ab10cb4f7e085f957198e05e727c81b2c9b27a9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 5 Mar 2014 18:46:55 +0100 Subject: Do not set #dir when on public.php Fix #7571 --- apps/files/js/filelist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files/js/filelist.js') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 550c10dba3e..9a64035d72a 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1156,9 +1156,9 @@ $(document).ready(function() { // need to initially switch the dir to the one from the hash (IE8) FileList.changeDirectory(parseCurrentDirFromUrl(), false, true); } - } - FileList.setCurrentDir(parseCurrentDirFromUrl(), false); + FileList.setCurrentDir(parseCurrentDirFromUrl(), false); + } FileList.createFileSummary(); }); -- cgit v1.2.3