diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-02-05 10:33:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-05 10:33:28 +0200 |
commit | 22923274151b929c0d930d1e053d167331aa22e3 (patch) | |
tree | 57c34924633301e3ad04b75737f35fba643003c8 | |
parent | f1820dee255bb8ca7dacbeb2a2cdf622541fed81 (diff) | |
parent | d3a74836b7abb64591afde6ce0d0eb7a40d308fa (diff) |
Merge pull request #992 from dibdot/master
luci-app-adblock: put backup options to global section
-rw-r--r-- | applications/luci-app-adblock/luasrc/model/cbi/adblock.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua index d80cb486e3..0a4a4cdd2f 100644 --- a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua +++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua @@ -34,13 +34,13 @@ des = bl:option(DummyValue, "adb_src_desc", translate("Description")) -- Additional options -s2 = m:section(NamedSection, "backup", "service", translate("Backup options")) +s2 = m:section(NamedSection, "global", "adblock", translate("Backup options")) -o4 = s2:option(Flag, "enabled", translate("Enable blocklist backup")) +o4 = s2:option(Flag, "adb_backup", translate("Enable blocklist backup")) o4.rmempty = false o4.default = 0 -o5 = s2:option(Value, "adb_dir", translate("Backup directory")) +o5 = s2:option(Value, "adb_backupdir", translate("Backup directory")) o5.rmempty = false o5.datatype = "directory" |