summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lbu-controller.lua7
-rw-r--r--lbu.menu8
2 files changed, 11 insertions, 4 deletions
diff --git a/lbu-controller.lua b/lbu-controller.lua
index 8dbaccb..304b0ac 100644
--- a/lbu-controller.lua
+++ b/lbu-controller.lua
@@ -102,6 +102,10 @@ config = function (self)
label="Apply above settings",
type="submit",
})
+ if (self.clientdata.config_submit) then
+ config.config_submit.descr="* Changes has been saved!"
+ end
+
-- Disable buttons/commands that is usable for som reason
if (config.lbu_included.option) and (#config.lbu_included.option == 0) then
@@ -193,6 +197,9 @@ expert = function (self)
label="Apply settings",
type="submit",
})
+ if (self.clientdata.cmdsave) then
+ file.cmdsave.descr="* Changes has been saved!"
+ end
local url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller
diff --git a/lbu.menu b/lbu.menu
index c702752..2c8704f 100644
--- a/lbu.menu
+++ b/lbu.menu
@@ -1,5 +1,5 @@
#CAT GROUP/DESC TAB ACTION
-System LBU Status status
-System LBU Commit commit
-System LBU Config config
-System LBU Expert expert
+System 99Local_backups Status status
+System 99Local_backups Commit commit
+System 99Local_backups Config config
+System 99Local_backups Expert expert