Merge pull request #1221 from Cye3s/master
[project/luci.git] / applications / luci-app-adblock / luasrc / model / cbi / adblock / configuration_tab.lua
index ec88e5f..1607f14 100644 (file)
@@ -7,11 +7,14 @@ local adbinput = "/etc/config/adblock"
 
 if not nixio.fs.access(adbinput) then
        m = SimpleForm("error", nil, translate("Input file not found, please check your configuration."))
+       m.reset = false
+       m.submit = false
        return m
 end
 
 m = SimpleForm("input", nil)
 m:append(Template("adblock/config_css"))
+m.reset = false
 
 s = m:section(SimpleSection, nil,
        translate("This form allows you to modify the content of the main adblock configuration file (/etc/config/adblock)."))