From 084d6d55789bc9ef4eb306595c2705a556913b66 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Jun 2015 16:24:21 -0400 Subject: Change editdeviceparams to not hide section unless it has the section number in its text --- provisioning-editdeviceparams-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'provisioning-editdeviceparams-html.lsp') diff --git a/provisioning-editdeviceparams-html.lsp b/provisioning-editdeviceparams-html.lsp index 7a66a7b..dc8263e 100644 --- a/provisioning-editdeviceparams-html.lsp +++ b/provisioning-editdeviceparams-html.lsp @@ -74,7 +74,7 @@ end currentnumber = 0; } - if ((currentsection == previoussection) && (currentnumber != previousnumber) && (0 == $(this).find(".defaultoverride").length) && (0 == $(this).find(".groupdefaultoverride").length)) { + if ((currentsection == previoussection) && (currentnumber != previousnumber) && (0 == $(this).find(".defaultoverride").length) && (0 == $(this).find(".groupdefaultoverride").length) && ($(this).children().first().text().match(currentnumber))) { $(this).toggle(); $(' Add '+$(this).children().first().text()+'').insertAfter($(this)).click(showsection); if ($(this).prev("a").length == 1) { -- cgit v1.2.3