Revision: 1990
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1990&view=rev
Author:   tbleher
Date:     2011-09-22 07:32:22 +0000 (Thu, 22 Sep 2011)
Log Message:
-----------
Correctly handle multiple selected rooms in Ajax calls

val() already returns an array on multi-select boxes, so we can simply use
that.

Modified Paths:
--------------
    mrbs/trunk/web/Themes/default/header.inc

Modified: mrbs/trunk/web/Themes/default/header.inc
===================================================================
--- mrbs/trunk/web/Themes/default/header.inc    2011-09-21 20:35:07 UTC (rev 
1989)
+++ mrbs/trunk/web/Themes/default/header.inc    2011-09-22 07:32:22 UTC (rev 
1990)
@@ -391,9 +391,7 @@
           }
           else
           {
-            formInput.each(function(index) {
-                params[value].push($(this).val());
-              });
+            params[value] = formInput.val();
           }
           // For some reason I don't understand, posting an empty array will
           // give you a PHP array of ('') at the other end.    So to avoid

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to