diff options
Diffstat (limited to 'provisioning-editdeviceparams-html.lsp')
-rw-r--r-- | provisioning-editdeviceparams-html.lsp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/provisioning-editdeviceparams-html.lsp b/provisioning-editdeviceparams-html.lsp index 9c1cea8..9229264 100644 --- a/provisioning-editdeviceparams-html.lsp +++ b/provisioning-editdeviceparams-html.lsp @@ -1,4 +1,4 @@ -<% local form, viewlibrary, page_info, session = ... +<% local form, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> @@ -73,7 +73,7 @@ end currentsection = id.substr(8); currentnumber = 0; } - + 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); @@ -86,7 +86,7 @@ end previoussection = currentsection; previousnumber = currentnumber; }); - + } $(document).ready(function() { |