Author: sevein
Date: Fri Sep 30 10:07:30 2011
New Revision: 9880
Log:
Fix typo, it wasn't breaking the form but created two ul tags
Modified:
trunk/js/multiInput.js
Modified: trunk/js/multiInput.js
==============================================================================
--- trunk/js/multiInput.js Thu Sep 29 18:10:35 2011 (r9879)
+++ trunk/js/multiInput.js Fri Sep 30 10:07:30 2011 (r9880)
@@ -42,15 +42,15 @@
event.preventDefault();
}
- var $ul = $(this).prev('ul.multInput');
+ var $ul = $(this).prev('ul.multiInput');
if (!$ul.length)
{
// Add <ul/> element, if it doesn't exist already (new
// object)
- $ul = $('<ul class="multInput"/>').insertBefore(this);
+ $ul = $('<ul class="multiInput"/>').insertBefore(this);
}
- // Add input value to multInput
+ // Add input value to multiInput
var $li = $('<li><input name="' + name + '[new' +
index++ + ']" value="' + this.value + '"/></li>')
// Bind click event to new list item
--
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.