Author: gotcha
Date: Sun Jul 22 10:04:23 2007
New Revision: 45241

Modified:
   kukit/kukit.js/trunk/kukit/forms.js
Log:
do not marshall nulls

Modified: kukit/kukit.js/trunk/kukit/forms.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/forms.js (original)
+++ kukit/kukit.js/trunk/kukit/forms.js Sun Jul 22 10:04:23 2007
@@ -50,7 +50,12 @@
 };
 
 kukit.fo.FormQuery.prototype.appendElem = function(name, value) {
-    if ((typeof(value) == 'string') || (value == null)) {
+    if (value == null) {
+        // do not marshall nulls
+        ;;; var msg = "parameter '" + name + "' is null.";
+        ;;; kukit.logDebug(msg);
+        }
+    else if (typeof(value) == 'string') {
         var elem = new kukit.fo.FormQueryElem(name, value);
         this.l.push(elem);
     }
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to