Do not call cbi_init() from the browser field template but lazily initialize the field, like it is being done for all other widgets as well. Fixes: #2398 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
10 lines
244 B
HTML
10 lines
244 B
HTML
<%+cbi/valueheader%>
|
|
|
|
<input class="cbi-input-text" type="text"<%=
|
|
attr("id", cbid) ..
|
|
attr("name", cbid) ..
|
|
attr("value", self:cfgvalue(section) or self.default) ..
|
|
attr("data-browser", self.default_path or "")
|
|
%> />
|
|
|
|
<%+cbi/valuefooter%>
|