summaryrefslogtreecommitdiffhomepage
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
parent6434919b9f2ac7cde18b724ef46f6a13207b3d85 (diff)
Added refresh
-rw-r--r--TODO1
-rw-r--r--html/index.html1
-rw-r--r--html/webbox.js4
3 files changed, 5 insertions, 1 deletions
diff --git a/TODO b/TODO
index e062301..e9877fb 100644
--- a/TODO
+++ b/TODO
@@ -6,7 +6,6 @@ debian/
implement TBD features
handle spaces/umlauts
download zip
-Refresh
Prio 2 (for future versions)
======
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
+}
+