From cd6d45ecf8f24a40d1a0829b93030a5c22829f23 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Tue, 19 Jul 2016 13:12:40 +0600 Subject: CLOUD: Minor "/filesAJAX" fix --- backends/networking/wwwroot.zip | Bin 240788 -> 240746 bytes backends/networking/wwwroot/.filesAJAX.html | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/networking') diff --git a/backends/networking/wwwroot.zip b/backends/networking/wwwroot.zip index fc627d50ca..8d6d63012d 100644 Binary files a/backends/networking/wwwroot.zip and b/backends/networking/wwwroot.zip differ diff --git a/backends/networking/wwwroot/.filesAJAX.html b/backends/networking/wwwroot/.filesAJAX.html index aab2a0414a..a1c379d53a 100644 --- a/backends/networking/wwwroot/.filesAJAX.html +++ b/backends/networking/wwwroot/.filesAJAX.html @@ -153,7 +153,7 @@ var tr = document.createElement("tr"); var td = document.createElement("td"); var img = document.createElement("img"); - img.src = "http://localhost:12345/icons/" + item.icon; + img.src = "./icons/" + item.icon; td.appendChild(img); tr.appendChild(td); @@ -163,7 +163,7 @@ a.onclick = function () { showDirectory(item.path); }; a.href = "javascript:onclick();"; } else - a.href = "http://localhost:12345/download?path=" + encodeURIComponent(item.path); + a.href = "./download?path=" + encodeURIComponent(item.path); td.appendChild(a); tr.appendChild(td); -- cgit v1.2.3