Author: sevein
Date: Mon Oct 12 13:08:36 2009
New Revision: 3728

Log:
Add texarea tag to jQuery selector in multiInstanceInputTr as well as input 
tags.
Fixes issue 1025 - IE needs to reset value attribute after be cloned.

Modified:
   trunk/web/js/multiInstanceInput.js

Modified: trunk/web/js/multiInstanceInput.js
==============================================================================
--- trunk/web/js/multiInstanceInput.js  Mon Oct 12 09:43:27 2009        (r3727)
+++ trunk/web/js/multiInstanceInput.js  Mon Oct 12 13:08:36 2009        (r3728)
@@ -91,7 +91,7 @@
     newElement.attr('name', elementName);
 
     var newRow = thisRow.clone(true);
-    newRow.find('input').eq(0).replaceWith(newElement);
+    newRow.find('input, textarea').eq(0).replaceWith(newElement);
     newRow.find('td').wrapInner('<div class="niceShow" 
style="display:none"></div>');
 
     // Insert after last row

--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to