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

Fixed viewweblog in controller and view

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