Merge pull request #2282 from TDT-AG/pr/20181114-luci-base
luci-base: allow optional default value for file browser
This commit is contained in:
commit
e442bfe0ae
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
<% local v = self:cfgvalue(section) -%>
|
||||
<% local v = self:cfgvalue(section) or self.default -%>
|
||||
<%+cbi/valueheader%>
|
||||
<input class="cbi-input-text" type="text"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> />
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in a new issue