Lines 46-51
Link Here
|
46 |
$("select", clone).attr('name', function() { |
46 |
$("select", clone).attr('name', function() { |
47 |
return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId); |
47 |
return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId); |
48 |
}); |
48 |
}); |
|
|
49 |
$("input,select", clone).attr('value',''); |
49 |
original.parentNode.insertBefore(clone, original.nextSibling); |
50 |
original.parentNode.insertBefore(clone, original.nextSibling); |
50 |
} |
51 |
} |
51 |
|
52 |
|
52 |
- |
|
|