mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merged #2854 and updated to increment only the deleterow button
This commit is contained in:
parent
dbe64b7175
commit
5ed4eb307f
@ -313,8 +313,8 @@ function add_row() {
|
||||
$(this).val('');
|
||||
});
|
||||
|
||||
// Increment the suffix number for each button element in the new group
|
||||
$(newGroup).find('button').each(function() {
|
||||
// Increment the suffix number for the deleterow button element in the new group
|
||||
$(newGroup).find('[id^=deleterow]').each(function() {
|
||||
$(this).prop("id", bumpStringInt(this.id));
|
||||
$(this).prop("name", bumpStringInt(this.name));
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user