diff options
author | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2009-08-18 08:09:23 +0000 |
---|---|---|
committer | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2009-08-18 08:09:23 +0000 |
commit | 552fbe241c3d261748930b0f7f5a3249216b8e8a (patch) | |
tree | bfce4e36d68c7d0004d33a70e01a30cf4baac536 /applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag | |
parent | 03e738cc708a75bd5f3e4cab4f0b577e0d7b7908 (diff) |
Bug fix: various cbi files in luci-diag-devinfo were missing 'require's for
files referenced from controller.
Diffstat (limited to 'applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag')
5 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua index 34ce02aa1..9dbf24ddf 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.netdiscover_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua index 8bdc1e636..341e2194c 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.netdiscover_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua index 99d321486..8e9c922df 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.smap_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua index f68af9060..fae9e6fc4 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua @@ -12,6 +12,8 @@ You may obtain a copy of the License at $Id$ ]]-- +require("luci.controller.luci_diag.devinfo_common") + m = Map("luci_devinfo", translate("l_d_d_sdc_mini_smap_to_devinfo_config"), translate("l_d_d_sdc_mini_smap_to_devinfo_config_descr")) s = m:section(SimpleSection, "", translate("l_d_d_sdc_mini_use_config")) diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua index 3f695a0a6..6af14b2e6 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.smap_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false |