summaryrefslogtreecommitdiff
path: root/templates/admin_shifts_angel_types.html
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-09-12 14:43:13 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-09-12 14:43:13 +0200
commitb39922795608dea3c96fea8c60c17c6f44a4d3c5 (patch)
tree02a3b1fdb48750212e8cf9c7dfc7607030426869 /templates/admin_shifts_angel_types.html
parent024c5ff2e2d1fd84f0ad850d1f1cd845f047e8e1 (diff)
#5 fixed shift calculation
Diffstat (limited to 'templates/admin_shifts_angel_types.html')
-rw-r--r--templates/admin_shifts_angel_types.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/admin_shifts_angel_types.html b/templates/admin_shifts_angel_types.html
index 5ac1f8e6..31d2379c 100644
--- a/templates/admin_shifts_angel_types.html
+++ b/templates/admin_shifts_angel_types.html
@@ -6,9 +6,11 @@
<script type="text/javascript">
document.getElementById("type_%id%_up").onclick = function(e){
document.getElementById("type_%id%").value = (parseInt(document.getElementById("type_%id%").value) + 101) % 100;
+ return false;
};
document.getElementById("type_%id%_down").onclick = function(e){
document.getElementById("type_%id%").value = (parseInt(document.getElementById("type_%id%").value) +99) % 100;
+ return false;
};
</script>
</p>