luci-0.11: merge outstanding trunk changes
[project/luci.git] / applications / luci-diag-devinfo / luasrc / controller / luci_diag / netdiscover_common.lua
index 0cd981e053f9d9f5f1842b83b4da03e1d9b57f7c..592ca1eaa9352c28516ff9a7dd419919a59fc7f2 100644 (file)
@@ -23,6 +23,9 @@ local translate = luci.i18n.translate
 local DummyValue = luci.cbi.DummyValue
 local SimpleSection = luci.cbi.SimpleSection
 
+function index()
+       return -- no-op
+end
         
 function get_params()
 
@@ -80,7 +83,6 @@ function command_function(outnets, i)
 end
 
 function action_links(netdiscovermap, mini) 
-   luci.i18n.loadc("diag_devinfo")
    s = netdiscovermap:section(SimpleSection, "", translate("Actions")) 
    b = s:option(DummyValue, "_config", translate("Configure Scans"))
    b.value = ""
@@ -96,4 +98,4 @@ function action_links(netdiscovermap, mini)
    else
       b.titleref = luci.dispatcher.build_url("admin", "status", "netdiscover_devinfo")
    end
-end
\ No newline at end of file
+end