diff --git a/src/usr/local/www/jquery/pfSenseHelpers.js b/src/usr/local/www/jquery/pfSenseHelpers.js index 1959301fa0..6d02d2d2f9 100644 --- a/src/usr/local/www/jquery/pfSenseHelpers.js +++ b/src/usr/local/www/jquery/pfSenseHelpers.js @@ -387,8 +387,8 @@ $('[id^=delete]').click(function(event) { // "More information" handlers // If there is an infoblock, automatically add an info icon that toggles its display -if($('#infoblock').length != 0) { - $('#infoblock').before(''); +if($('#infoblock,#infoblock_open').length != 0) { + $('#infoblock,#infoblock_open').before(''); // and remove the 'X' button from the last text box (Which we assume to be the infoblock) $('.close :last').remove(); @@ -399,7 +399,7 @@ $('#infoblock').hide(); // Show the help on clicking the info icon $('#showinfo').click(function() { - $('#infoblock').toggle(); + $('#infoblock,#infoblock_open').toggle(); }); // Put a dummy row into any empty table to keep IE happy