From 733028a932feef66d0d2e93ff909ceccc63a4eb3 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sun, 22 Apr 2012 11:31:21 +0000 Subject: Change handle_form to pass self into get_function and set_function --- app/acf_www-controller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 44fc92a..d39ee31 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -608,12 +608,12 @@ handle_clientdata = function(form, clientdata) end handle_form = function(self, getFunction, setFunction, clientdata, option, label, descr) - local form = getFunction(clientdata) + local form = getFunction(self, clientdata) if clientdata.submit then self.handle_clientdata(form, clientdata) - form = setFunction(form, clientdata.submit) + form = setFunction(self, form, clientdata.submit) if not form.errtxt and descr then form.descr = descr end -- cgit v1.2.3