diff options
author | Ted Trask <ttrask01@yahoo.com> | 2017-02-22 21:23:32 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2017-02-22 21:23:32 +0000 |
commit | a1da445f34e1c4139e49591a661902f63eef75a4 (patch) | |
tree | a50dbd8c5039626ca2a2e04d335453e4c694b5cb /provisioning-editdevice-html.lsp | |
parent | 07027036bc14ebbb75e54f81b3134ec2b9dc0783 (diff) | |
download | acf-provisioning-a1da445f34e1c4139e49591a661902f63eef75a4.tar.bz2 acf-provisioning-a1da445f34e1c4139e49591a661902f63eef75a4.tar.xz |
Revert "Add notifydevices param and add it to all actions that modify devices (not yet implemented)"
This reverts commit 07027036bc14ebbb75e54f81b3134ec2b9dc0783.
Diffstat (limited to 'provisioning-editdevice-html.lsp')
-rw-r--r-- | provisioning-editdevice-html.lsp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/provisioning-editdevice-html.lsp b/provisioning-editdevice-html.lsp index 85161b7..fe375aa 100644 --- a/provisioning-editdevice-html.lsp +++ b/provisioning-editdevice-html.lsp @@ -29,12 +29,6 @@ html = require("acf.html") $(document).ready(function() { $(".deletedevice").click(function(){ return confirm("Are you sure you want to delete this device?")}); - $("[id=<%= page_info.action %>]").submit(function(event){ - if ($(this).find("#notifydevices").is(":checked")) { - return confirm("Are you sure you want to notify affected devices? This might cause a reboot."); - } - return true; - }); }); </script> @@ -56,9 +50,7 @@ html = require("acf.html") form.value.device_id.readonly = "true" elseif page_info.action == "duplicatedevice" then form.value.classes = nil - form.value.notifydevices.value = false - form.value.notifydevices.type = "hidden" - elseif form.value.device_id then + else form.value.device_id.type = "hidden" end htmlviewfunctions.displayitem(form, page_info) |