diff admin.js @ 977:a1da651a2e45

Add compo notes field.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Nov 2014 13:08:17 +0200
parents 054b612df423
children 0a8cb8f9f555
line wrap: on
line diff
--- a/admin.js	Sat Nov 29 12:46:41 2014 +0200
+++ b/admin.js	Sat Nov 29 13:08:17 2014 +0200
@@ -361,7 +361,7 @@
 //
 function addCompo()
 {
-  var args = jsMakePostArgs({"name":1, "description":1}, "nc", "");
+  var args = jsMakePostArgs({"name":1, "description":1, "notes":1}, "nc", "");
 
   var msuccess = function(txt)
   {
@@ -387,7 +387,7 @@
 
 function updateCompo(id)
 {
-  var args = jsMakePostArgs({"name":1, "description":1, "visible":3, "voting":3, "show_authors":3, "cpath":1, "preview_type":4}, "co", id, true);
+  var args = jsMakePostArgs({"name":1, "description":1, "notes":1, "visible":3, "voting":3, "show_authors":3, "cpath":1, "preview_type":4}, "co", id, true);
 
   var msuccess = function(txt)
   {