diff --git a/templates/log.html b/templates/log.html
index 687c9b3a4c10781a0313e16a9f1a63d6062a4ebb..d67e0033fe1024f1806c81dd90b41e4754b9aa72 100644
--- a/templates/log.html
+++ b/templates/log.html
@@ -23,7 +23,7 @@
 						<td>{{i.path}}</td>
 						<td>"{{i.value_old}}"</td>
 						<td>"{{i.value_new}}"</td>
-						<td><a class="btn btn-default">undo</button></td>
+						<td><button onclick="moderatorinterface.set('{{i.path}}','{{i.value_old}}');alert('done');" class="btn btn-default">undo</button></td>
 					</tr>
 				{% endfor %}
 			</table>