From 82f88b0be3006ee9abe40fd978d20f07e086bdb4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 10 Apr 2014 04:56:22 +0000 Subject: Change for new prototype for htmlviewfunctions.displayitem --- rc-status-html.lsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc-status-html.lsp') diff --git a/rc-status-html.lsp b/rc-status-html.lsp index a586700..aab9470 100644 --- a/rc-status-html.lsp +++ b/rc-status-html.lsp @@ -41,14 +41,14 @@ for i,item in ipairs(view.value) do %> <% local servicename = cfe({type="hidden", value=item.servicename}) %> <% if viewlibrary.check_permission("edit") then - htmlviewfunctions.displayitem(cfe({type="link", value={servicename=servicename, redir=redir}, label="", option="Edit", action="edit" }), -1, page_info) + htmlviewfunctions.displayitem(cfe({type="link", value={servicename=servicename, redir=redir}, label="", option="Edit", action="edit" }), page_info, -1) end %> <% if viewlibrary.check_permission("startstop") and item.actions then local startstopform = cfe({type="form", value={servicename=servicename}, label="", option={}, action="startstop" }) for i,a in ipairs(item.actions) do startstopform.option[#startstopform.option+1] = a:gsub("^%l", string.upper) end - htmlviewfunctions.displayitem(startstopform, -1, page_info) + htmlviewfunctions.displayitem(startstopform, page_info, -1) end %> <%= html.html_escape(item.servicename) %> -- cgit v1.2.3