web/ui/ui.js | ●●●●● patch | view | raw | blame | history |
web/ui/ui.js
@@ -89,10 +89,15 @@ //console.log(parsedUrl.searchParams.get("pfad")); var wunschPfad = parsedUrl.searchParams.get("pfad"); if(wunschPfad.length > 0) { pfad = wunschPfad; fm_get_list(wunschPfad); fm_init_uploader(); if(wunschPfad !== null) { if(wunschPfad.length > 0) { pfad = wunschPfad; fm_get_list(wunschPfad); fm_init_uploader(); } else { fm_get_list(''); fm_init_uploader(); } } else { fm_get_list(''); fm_init_uploader();