From 070a3568b90bd8636dd9e629ba63988ec8b62c96 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Mon, 21 Dec 2015 16:17:17 -0500 Subject: Fix help text on delete row when selector is used in a PHP table --- src/usr/local/www/jquery/pfSenseHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www/jquery/pfSenseHelpers.js') diff --git a/src/usr/local/www/jquery/pfSenseHelpers.js b/src/usr/local/www/jquery/pfSenseHelpers.js index 7dfd22e..1959301 100644 --- a/src/usr/local/www/jquery/pfSenseHelpers.js +++ b/src/usr/local/www/jquery/pfSenseHelpers.js @@ -208,7 +208,7 @@ function setMasks() { // Complicated function to move all help text associated with this input id to the same id // on the row above. That way if you delete the last row, you don't lose the help function moveHelpText(id) { - $('#' + id).parent('div').parent('div').find('input').each(function() { // For each + $('#' + id).parent('div').parent('div').find('input, select, checkbox').each(function() { // For each var fromId = this.id; var toId = decrStringInt(fromId); var helpSpan; -- cgit v1.1