changeset 691:c9d16e2c9725

Comments, cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Nov 2014 23:11:40 +0200
parents bad79296eb34
children 5e3c71f6fc02
files admin.js
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admin.js	Sun Nov 09 21:17:40 2014 +0200
+++ b/admin.js	Sun Nov 09 23:11:40 2014 +0200
@@ -158,6 +158,9 @@
 }
 
 
+//
+// Site news management
+//
 function addNews()
 {
   var args = jsMakePostArgs({"title":1,"text":1,"author":1}, "nn", "");
@@ -180,7 +183,6 @@
 }
 
 
-
 function updateNews(id)
 {
   var args = jsMakePostArgs({"title":1,"text":1,"author":1}, "ne", id);
@@ -399,6 +401,7 @@
   {
     jsSendPOSTRequest("action=update&type=entry&id="+id+"&"+args, msuccess);
   }
+
   var mcb_cancel = function(data)
   {
   }