From 25e8c0a351ab75ad88cbb625773c2d3bff526a03 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 22 Feb 2017 21:56:38 +0000 Subject: Add viewdeviceparams action and modify roles to add USER (cherry picked from commit ea3cacb09a7566b59411fad00f86f170408027e3) --- provisioning-editdeviceparams-html.lsp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'provisioning-editdeviceparams-html.lsp') diff --git a/provisioning-editdeviceparams-html.lsp b/provisioning-editdeviceparams-html.lsp index 9229264..c0d1de8 100644 --- a/provisioning-editdeviceparams-html.lsp +++ b/provisioning-editdeviceparams-html.lsp @@ -76,11 +76,13 @@ end if ((currentsection == previoussection) && (currentnumber != previousnumber) && (0 == $(this).find(".defaultoverride").length) && (0 == $(this).find(".groupdefaultoverride").length) && ($(this).children().first().text().match(currentnumber))) { $(this).toggle(); + <% if page_info.action ~= "viewdeviceparams" then %> $(' Add '+$(this).children().first().text()+'').insertAfter($(this)).click(showsection); if ($(this).prev("a").length == 1) { // If the previous sibling is also an Add link, hide this one $(this).next().toggle(); } + <% end %> } previoussection = currentsection; -- cgit v1.2.3