changeset 317:cacd5ceed4ab

Return empty string in case of unsupported type in makePostArgs().
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 27 Nov 2013 05:50:41 +0200
parents 54dfab6ba12c
children 008406f27395
files majax.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/majax.php	Wed Nov 27 05:07:48 2013 +0200
+++ b/majax.php	Wed Nov 27 05:50:41 2013 +0200
@@ -139,7 +139,7 @@
 
       default:
         alert("Unsupported field type in "+ elname);
-        break;
+        return "";
     }
   }
   return res.join("&");