luci-base: cbi: refactor event handling js
[project/luci.git] / modules / luci-base / luasrc / view / cbi / tblsection.htm
index d928791..fcf2161 100644 (file)
@@ -99,7 +99,7 @@ end
                                                        %> onclick="location.href='<%=self.extedit:format(section)%>'"
                                                        <%- elseif type(self.extedit) == "function" then
                                                        %> onclick="location.href='<%=self:extedit(section)%>'"
-                                                       <%- end 
+                                                       <%- end
                                                        %> alt="<%:Edit%>" title="<%:Edit%>" />
                                                <%- end; if self.addremove then %>
                                                        <input class="cbi-button cbi-button-remove" type="submit" value="<%:Delete%>"  onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" />