2006 => 2007 Happy New Year\!
[platal.git] / htdocs / javascript / xorg.js
index 66923c1..6da7805 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  Copyright (C) 2003-2007 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -86,6 +86,13 @@ function dynpost(action, values)
     form.submit();
 }
 
+function dynpostkv(action, k, v)
+{
+    var dict = {};
+    dict[k] = v;
+    dynpost(action, dict);
+}
+
 // }}}
 
 /***************************************************************************