X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fluci-base%2Fluasrc%2Fview%2Fcbi%2Fnetwork_netlist.htm;h=f8a2b72f3cf37ee343672350c241bf7ceb2f94c6;hp=7e23d149a8ff200d17cd9e8a7eb0e8c0d2f502c4;hb=6d126649f01ac817149d4f36324c161bb1a4650b;hpb=1bb4822dca6113f73e3bc89e2acf15935e6f8e92 diff --git a/modules/luci-base/luasrc/view/cbi/network_netlist.htm b/modules/luci-base/luasrc/view/cbi/network_netlist.htm index 7e23d149a..f8a2b72f3 100644 --- a/modules/luci-base/luasrc/view/cbi/network_netlist.htm +++ b/modules/luci-base/luasrc/view/cbi/network_netlist.htm @@ -27,7 +27,7 @@ (not self.novirtual or not net:is_virtual()) then %>
  • - " onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)"<%= + " data-update="click change"<%= attr("type", self.widget or "radio") .. attr("id", cbid .. "." .. net:name()) .. attr("name", cbid) .. attr("value", net:name()) .. @@ -51,7 +51,7 @@ <% if not self.nocreate then %>
  • - " onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)"<%=attr("type", self.widget or "radio") .. attr("id", cbid .. "_new") .. attr("name", cbid) .. attr("value", "-") .. ifattr(not value and self.widget ~= "checkbox", "checked", "checked")%> />   + " data-update="click change"<%=attr("type", self.widget or "radio") .. attr("id", cbid .. "_new") .. attr("name", cbid) .. attr("value", "-") .. ifattr(not value and self.widget ~= "checkbox", "checked", "checked")%> />  
    > <%- if self.widget == "checkbox" then -%> @@ -59,12 +59,13 @@ <%- else -%> <%:unspecified -or- create:%> <%- end -%>  + onfocus="document.getElementById('<%=cbid%>_new').checked=true" />
  • <% elseif self.widget ~= "checkbox" and self.unspecified then %>
  • - " onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)"<%= + " data-update="click change"<%= attr("type", self.widget or "radio") .. attr("id", cbid .. "_uns") .. attr("name", cbid) ..