From ea389d93eb8b46cd8e79ec1493c6ab7064c17acd Mon Sep 17 00:00:00 2001
From: Andreas Valder <andreasv@fsmpi.rwth-aachen.de>
Date: Thu, 1 Sep 2016 17:42:15 +0200
Subject: [PATCH] made undo btn in changelog work

---
 templates/log.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/log.html b/templates/log.html
index 687c9b3..d67e003 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>
-- 
GitLab