Author: david
Date: Thu Nov 26 16:30:19 2009
New Revision: 3970

Log:
Merge attributes to final input in multi-input set.

Modified:
   trunk/lib/QubitWidgetFormInputMany.php

Modified: trunk/lib/QubitWidgetFormInputMany.php
==============================================================================
--- trunk/lib/QubitWidgetFormInputMany.php      Thu Nov 26 16:14:16 2009        
(r3969)
+++ trunk/lib/QubitWidgetFormInputMany.php      Thu Nov 26 16:30:19 2009        
(r3970)
@@ -71,7 +71,7 @@
       $inputStr .= "</ul>\n";
     }
 
-    $inputStr .= $this->renderTag('input', array('name' => $name.'[new]', 
'type' => $this->getOption('type')));
+    $inputStr .= $this->renderTag('input', array_merge(array('name' => 
$name.'[new]', 'type' => $this->getOption('type')), $attributes));
 
     return $inputStr;
   }

--

You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.


Reply via email to