summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@trask19.(none)>2009-06-04 15:47:07 +0000
committerroot <root@trask19.(none)>2009-06-04 15:47:07 +0000
commit54cde24e1e4bdb86c8ebf31478f204ee6299908c (patch)
tree5f48f217e8c65958a4b631543c0097bd98ee6734
parentb5569854ef189036ad9690bf4c027c410aa82c35 (diff)
downloadacf-fetch-crl-54cde24e1e4bdb86c8ebf31478f204ee6299908c.tar.bz2
acf-fetch-crl-54cde24e1e4bdb86c8ebf31478f204ee6299908c.tar.xz
Updated for startstop in core 0.5.0
-rw-r--r--fetchcrl-controller.lua2
-rw-r--r--fetchcrl-model.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/fetchcrl-controller.lua b/fetchcrl-controller.lua
index 0b957ba..d5d3e0d 100644
--- a/fetchcrl-controller.lua
+++ b/fetchcrl-controller.lua
@@ -11,7 +11,7 @@ status = function( self )
end
startstop = function( self )
- return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.model.get_status, self.clientdata)
+ return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata)
end
expert = function( self )
diff --git a/fetchcrl-model.lua b/fetchcrl-model.lua
index a47543c..3d3a5fe 100644
--- a/fetchcrl-model.lua
+++ b/fetchcrl-model.lua
@@ -35,7 +35,7 @@ end
function startstop_service(action)
local result = {}
- result.actions = cfe({ type="list", value={"download", "delete"}, label="Start/Stop actions" })
+ result.actions = cfe({ type="list", value={"Download", "Delete"}, label="Start/Stop actions" })
if action then
result.result = cfe({ label="Start/Stop result" })