From: Jo-Philipp Wich Date: Wed, 15 Feb 2012 22:08:51 +0000 (+0000) Subject: libs/web: fix delete action in tblsections, fix extedit buttons X-Git-Tag: 0.11.0~1086 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=1c10042f8c0cd55bcc90a98f1f62b31974179d4e libs/web: fix delete action in tblsections, fix extedit buttons --- diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index bee9bf80c..d92879116 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -96,13 +96,13 @@ end <%- if self.extedit then -%> onclick="window.location='<%=self.extedit:format(section)%>'" + %> onclick="location.href='<%=self.extedit:format(section)%>'" <%- elseif type(self.extedit) == "function" then - %> onclick="window.location='<%=self:extedit(section)%>'" + %> onclick="location.href='<%=self:extedit(section)%>'" <%- end %> alt="<%:Edit%>" title="<%:Edit%>" /> <%- end; if self.addremove then %> - + <%- end -%> <%- end -%>