summaryrefslogtreecommitdiffstats
path: root/rrdtool-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rrdtool-controller.lua')
-rw-r--r--rrdtool-controller.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/rrdtool-controller.lua b/rrdtool-controller.lua
index d325abe..28a94f0 100644
--- a/rrdtool-controller.lua
+++ b/rrdtool-controller.lua
@@ -62,3 +62,9 @@ function config(self)
return nil
end
+function editgraphcfg(self)
+ return controllerfunctions.handle_form(self,
+ function() return self.model.getgraphfile(self.clientdata.filename) end,
+ function() return self.model.setgraphfile() end,
+ self.clientdata, "Save", "Edit Config", "Configuration Saved")
+end