summaryrefslogtreecommitdiffstats
path: root/fetchmail-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:43 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:43 +0000
commit6443949d3f9d588c34452919a6e645af05153374 (patch)
tree960f69b96cce6da318820c8cb148c448fd683dbd /fetchmail-controller.lua
parentaa8f6a9bb719259c5d557ebbf0d1cf4ef79f0a2f (diff)
downloadacf-fetchmail-6443949d3f9d588c34452919a6e645af05153374.tar.bz2
acf-fetchmail-6443949d3f9d588c34452919a6e645af05153374.tar.xz
Updated for handle_form now passing self to get and set functions
Diffstat (limited to 'fetchmail-controller.lua')
-rw-r--r--fetchmail-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail-controller.lua b/fetchmail-controller.lua
index c2168f7..fa58a21 100644
--- a/fetchmail-controller.lua
+++ b/fetchmail-controller.lua
@@ -27,7 +27,7 @@ function editentry(self)
end
function createentry(self)
- return self.handle_form(self, self.model.readentry, self.model.createentry, self.clientdata, "Create", "Create Entry", "Entry Created")
+ return self.handle_form(self, function() return self.model.readentry() end, self.model.createentry, self.clientdata, "Create", "Create Entry", "Entry Created")
end
function deleteentry(self)