summaryrefslogtreecommitdiffhomepage
path: root/html
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2018-01-05 22:26:53 +0100
committerRoland Stigge <stigge@antcom.de>2018-01-05 22:26:53 +0100
commit329d00741ca0fee084d0f7c5b43ef3fab6df0570 (patch)
tree8a3d265025d9a845b0ee12dbb94b3cf82a44207d /html
parent6434919b9f2ac7cde18b724ef46f6a13207b3d85 (diff)
Added refresh
Diffstat (limited to 'html')
-rw-r--r--html/index.html1
-rw-r--r--html/webbox.js4
2 files changed, 5 insertions, 0 deletions
diff --git a/html/index.html b/html/index.html
index 023b8bc..3cb221d 100644
--- a/html/index.html
+++ b/html/index.html
@@ -20,6 +20,7 @@
<td class="entry" onclick="move();">Move</td>
<td class="entry" onclick="info();">Info</td>
<td class="entry" onclick="selectAll();">Select All</td>
+ <td class="entry" onclick="refresh();">Refresh</td>
</tr>
</table>
</div>
diff --git a/html/webbox.js b/html/webbox.js
index 3bcbf8d..2b70292 100644
--- a/html/webbox.js
+++ b/html/webbox.js
@@ -444,3 +444,7 @@ function selectAll() {
}
}
+function refresh() {
+ loadContents(currentDir); // load new file list
+}
+