diff options
Diffstat (limited to 'lbu-controller.lua')
-rw-r--r-- | lbu-controller.lua | 7 |
1 files changed, 7 insertions, 0 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 |