This commit is contained in:
hzsunshx
2019-01-25 09:25:53 +08:00
parent 0fdd7d5906
commit 8e3ddf6f3c

View File

@@ -348,8 +348,9 @@ function loadFileList(pathname) {
var pathname = pathname || location.pathname;
// console.log("load filelist:", pathname)
if (getQueryString("raw") !== "false") { // not a file preview
let sep = pathname.indexOf("?") === -1 ? "?" : "&"
$.ajax({
url: pathname + "?json=true",
url: pathname + sep + "json=true",
dataType: "json",
cache: false,
success: function (res) {