X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fdvalue.htm;h=28cd9ab948fdc50e9ac2541dfb1342a6b35fd428;hp=88f38ca7b6e064e860e6283cb66323a3ed0c6216;hb=712424dc0cf17a60f3d77024b892cc04146f6295;hpb=7d0ebeb7d008e49de31ce825be79371ba394a874
diff --git a/libs/cbi/luasrc/view/cbi/dvalue.htm b/libs/cbi/luasrc/view/cbi/dvalue.htm
index 88f38ca7b..28cd9ab94 100644
--- a/libs/cbi/luasrc/view/cbi/dvalue.htm
+++ b/libs/cbi/luasrc/view/cbi/dvalue.htm
@@ -15,15 +15,8 @@ $Id$
<%+cbi/valueheader%>
<% if self.href then %><% end -%>
-<%- if self.value then
- if type(self.value) == "function" then %>
- <%=luci.util.pcdata(self:value(section))%>
-<% else %>
- <%=luci.util.pcdata(self.value)%>
-<% end
-else %>
<%=luci.util.pcdata(self:cfgvalue(section))%>
-<% end -%>
<%- if self.href then %><%end%>
+
<%+cbi/valuefooter%>