diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-18 13:46:51 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-18 13:46:51 -0500 |
commit | 8627b174b04831a34dec9e74678958e83943437f (patch) | |
tree | 5389f44f6da620b1c08b78ead82450d910337116 /src/usr | |
parent | 88afaf7d77c4909ef0b552270254d34adc298d97 (diff) | |
download | pfsense-8627b174b04831a34dec9e74678958e83943437f.zip pfsense-8627b174b04831a34dec9e74678958e83943437f.tar.gz |
Changed var name sine label is an HTML reserved name.
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/jquery/pfSenseHelpers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/jquery/pfSenseHelpers.js b/src/usr/local/www/jquery/pfSenseHelpers.js index e9cc715..78d1074 100644 --- a/src/usr/local/www/jquery/pfSenseHelpers.js +++ b/src/usr/local/www/jquery/pfSenseHelpers.js @@ -279,7 +279,7 @@ function delete_row(rowDelBtn) { // If we are deleting row zero, we need to save/restore the label if (rowDelBtn == "deleterow0") { - label = $('#' + rowDelBtn).parent('div').parent('div').find('label').text(); + rowLabel = $('#' + rowDelBtn).parent('div').parent('div').find('label').text(); } $('#' + rowDelBtn).parent('div').parent('div').remove(); @@ -287,7 +287,7 @@ function delete_row(rowDelBtn) { checkLastRow(); if (rowDelBtn == "deleterow0") { - $('#' + rowDelBtn).parent('div').parent('div').find('label').text(label); + $('#' + rowDelBtn).parent('div').parent('div').find('label').text(rowLabel); } } |