Commit 5065978f authored by Ted Trask's avatar Ted Trask

Modified viewfunctions displaycommandresults to not delete the error results...

Modified viewfunctions displaycommandresults to not delete the error results of a form so the form can still display it.  Modified a bunch of views to display the results of component forms.  Also added code to displayform and displayformstart to automatically generate the action if passed page_info.

git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent 52ad6edf
<%
require("viewfunctions")
local form, viewlibrary, page_info = ...
local form, viewlibrary, page_info, session = ...
%>
<%
......@@ -11,6 +11,8 @@ io.write("</span>")
--]]
%>
<% displaycommandresults({"startstop"}, session) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
......
......@@ -10,7 +10,7 @@ io.write("</span>")
--]]
%>
<% displaycommandresults({"edit"}, session) %>
<% displaycommandresults({"edit", "startstop"}, session) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment