diff options
Diffstat (limited to 'provisioning-editdevice-html.lsp')
-rw-r--r-- | provisioning-editdevice-html.lsp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/provisioning-editdevice-html.lsp b/provisioning-editdevice-html.lsp index 571091b..829d1f7 100644 --- a/provisioning-editdevice-html.lsp +++ b/provisioning-editdevice-html.lsp @@ -6,6 +6,9 @@ require("viewfunctions") <% if page_info.action == "editdevice" then form.value.device_id.readonly = "true" + elseif page_info.action == "duplicatedevice" then + form.value.template_id = nil + form.value.classes = nil else form.value.device_id.type = "hidden" end |