summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-06-10 16:24:21 -0400
committerTed Trask <ttrask01@yahoo.com>2015-06-10 16:24:21 -0400
commit084d6d55789bc9ef4eb306595c2705a556913b66 (patch)
tree5574e0e282450d0c2b8801dbef9ca6eff854104f
parent4a462a1de3855576ad19b1499174a49a1275b1a8 (diff)
downloadacf-provisioning-084d6d55789bc9ef4eb306595c2705a556913b66.tar.bz2
acf-provisioning-084d6d55789bc9ef4eb306595c2705a556913b66.tar.xz
Change editdeviceparams to not hide section unless it has the section number in its text
-rw-r--r--provisioning-editdeviceparams-html.lsp2
1 files changed, 1 insertions, 1 deletions
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();
$('<a href="javascript:;" class="'+id+'"><img src="<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>tango/16x16/actions/list-add.png"> Add '+$(this).children().first().text()+'</a>').insertAfter($(this)).click(showsection);
if ($(this).prev("a").length == 1) {