From: Patrick Grimm Date: Mon, 13 Feb 2012 00:44:56 +0000 (+0000) Subject: libs/web: fix line wrapping error X-Git-Tag: 0.11.0~1120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3b0db7d8666b578cb1576158b62fcf952b9236f;p=oweals%2Fluci.git libs/web: fix line wrapping error --- diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index ab4249afc..9b5637f0e 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -94,13 +94,13 @@ end <%- if self.extedit or self.addremove then -%> <%- if self.extedit then -%> - - <%=self.extedit:format(section)%> + onclick="window.location='<%=self.extedit:format(section)%>'" <%- elseif type(self.extedit) == "function" then -%> - <%=self:extedit(section)%> + onclick="window.location='<%=self:extedit(section)%>'" <%- end -%> - '" alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> + alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> <%- end; if self.addremove then %> <%- end -%>