Revision: 1964
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1964&view=rev
Author:   tbleher
Date:     2011-09-20 20:05:20 +0000 (Tue, 20 Sep 2011)
Log Message:
-----------
Correctly handle the radio buttons in the ajax code for edit_entry

This is needed at least on Firefox so radio buttons are read correctly.

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-20 19:09:39 UTC (rev 
1963)
+++ mrbs/trunk/web/Themes/default/header.inc    2011-09-20 20:05:20 UTC (rev 
1964)
@@ -377,6 +377,10 @@
           {
             params.<?php echo $param ?> = formInput.is(':checked') ? '1' : '';
           }
+          else if (formInput.filter(':radio').length > 0)
+          {
+            params.<?php echo $param ?> = formInput.filter(':checked').val();
+          }
           else
           {
             params.<?php echo $param ?> = formInput.val();

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