Commit a36006b1 authored by Ted Trask's avatar Ted Trask

Updated for handle_form now passing self to get and set functions

parent eda53d1d
...@@ -34,11 +34,11 @@ end ...@@ -34,11 +34,11 @@ end
-- ################################################################################ -- ################################################################################
-- PUBLIC FUNCTIONS -- PUBLIC FUNCTIONS
function get_startstop(clientdata) function get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname) return modelfunctions.get_startstop(processname)
end end
function startstop_service(startstop, action) function startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action) return modelfunctions.startstop_service(startstop, action)
end end
...@@ -67,6 +67,6 @@ function getfiledetails(filename) ...@@ -67,6 +67,6 @@ function getfiledetails(filename)
return modelfunctions.getfiledetails(filename, determinefilelist()) return modelfunctions.getfiledetails(filename, determinefilelist())
end end
function updatefiledetails(filedetails) function updatefiledetails(self, filedetails)
return modelfunctions.setfiledetails(filedetails, determinefilelist()) return modelfunctions.setfiledetails(self, filedetails, determinefilelist())
end end
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