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 | |
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')
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 34ce02aa16..9dbf24ddfc 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 8bdc1e636c..341e2194c1 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 99d3214869..8e9c922df0 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 f68af90605..fae9e6fc45 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 3f695a0a66..6af14b2e65 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 |