Commit 01210d80 authored by Ted Trask's avatar Ted Trask

Fixed viewweblog in controller and view

parent 342d432f
......@@ -39,7 +39,7 @@ function viewweblog(self)
-- We want to get the weblog even if form wasn't submitted
if not self.clientdata.Update then
self.handle_clientdata(retval, self.clientdata)
retval = self.model.getweblog(retval)
retval = self.model.getweblog(self, retval)
end
return retval
end
......
......@@ -101,7 +101,7 @@ local window = data.value.window
data.value.window = nil
local focus = data.value.focus
data.value.focus = nil
displayform(data, nil, nil, page_info, 2)
htmlviewfunctions.displayform(data, nil, nil, page_info, 2)
data.value.log = log
data.value.window = window
data.value.focus = focus
......
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