]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not set #dir when on public.php
authorJoas Schilling <nickvergessen@gmx.de>
Wed, 5 Mar 2014 17:46:55 +0000 (18:46 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Wed, 5 Mar 2014 17:46:55 +0000 (18:46 +0100)
Fix #7571

apps/files/js/filelist.js

index 550c10dba3eb2f08c64ddee64eb9a326838da295..9a64035d72a80624042eb470a619e5bf90cbcaf3 100644 (file)
@@ -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();
 });