summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorPatrick Grimm <patrick@lunatiki.de>2012-02-13 00:44:56 +0000
committerPatrick Grimm <patrick@lunatiki.de>2012-02-13 00:44:56 +0000
commita3b0db7d8666b578cb1576158b62fcf952b9236f (patch)
treefb2b4c822dd83ee65880be785a5f7a57b5aaae6a /libs
parent9305afaf0d5d8ef2adc9addddcffdcf3d5502a2c (diff)
libs/web: fix line wrapping error
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/view/cbi/tblsection.htm8
1 files changed, 4 insertions, 4 deletions
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 -%>
<td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
<%- if self.extedit then -%>
- <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" onclick="window.location='
+ <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>"
<%- if type(self.extedit) == "string" 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 %>
<input class="cbi-button cbi-button-add" type="button" value="<%:Delete%>" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" style="text-align: center;background-image:url(<%=resource%>/cbi/remove.gif)" />
<%- end -%>