summaryrefslogtreecommitdiffstats
path: root/provisioning-listrequests-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'provisioning-listrequests-html.lsp')
-rw-r--r--provisioning-listrequests-html.lsp3
1 files changed, 1 insertions, 2 deletions
diff --git a/provisioning-listrequests-html.lsp b/provisioning-listrequests-html.lsp
index 2bb9338..365f2db 100644
--- a/provisioning-listrequests-html.lsp
+++ b/provisioning-listrequests-html.lsp
@@ -59,7 +59,6 @@ html = require("acf.html")
</tr>
</thead><tbody>
<% local mac = cfe({ type="hidden", value="" }) %>
-<% local redir = cfe({ type="hidden", value="searchdevices" }) %>
<% for k,v in ipairs( view.value ) do %>
<tr>
<td>
@@ -69,7 +68,7 @@ html = require("acf.html")
<% end %>
<% if v.device_id then %>
<% if viewlibrary.check_permission("searchdevices") then %>
- <% htmlviewfunctions.displayitem(cfe({type="form", value={id=cfe({type="hidden", value="device_id"}), value=cfe({type="hidden", value=v.device_id}), redir=redir}, label="", option="Search", action="searchdevices" }), page_info, -1) %>
+ <% htmlviewfunctions.displayitem(cfe({type="form", value={id=cfe({type="hidden", value="device_id"}), value=cfe({type="hidden", value=v.device_id})}, label="", option="Search", action="searchdevices" }), page_info, -1) %>
<% end %>
<% else %>
<% if viewlibrary.check_permission("createdevicefromrequest") then %>