changeset 683:ee9461239b47

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Nov 2014 18:46:45 +0200
parents 2e54b6858ce9
children 3be02474f849
files admin.js
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/admin.js	Sun Nov 09 14:48:07 2014 +0200
+++ b/admin.js	Sun Nov 09 18:46:45 2014 +0200
@@ -207,6 +207,9 @@
 }
 
 
+//
+// Visitor/attendee management
+//
 function addAttendee()
 {
   var args = jsMakePostArgs({"name":1,"groups":1,"oneliner":1,"email":1}, "ne", "x");
@@ -280,6 +283,9 @@
 }
 
 
+//
+// Compo management
+//
 function addCompo()
 {
   var args = jsMakePostArgs({"name":1, "description":1}, "nc", "");
@@ -328,6 +334,9 @@
 }
 
 
+//
+// Entry management
+//
 function activateEntry(id)
 {
   var msuccess1 = function(txt)
@@ -409,6 +418,9 @@
 }
 
 
+//
+// Votekey management
+//
 function voteKeyRefresh(id)
 {
   var msuccess2 = function(txt)
@@ -478,6 +490,9 @@
 }
 
 
+//
+// Misc functions
+//
 function performSystemCheck()
 {
   jsSendPOSTRequest("action=check", jsMessageBox);