From: Jo-Philipp Wich Date: Thu, 8 Oct 2009 00:46:01 +0000 (+0000) Subject: libs/cbi: auto-select appropriate option if create field is focused X-Git-Tag: 0.10.0~1112 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=d3e65f3e1d70dd45e1587e3a308a10925091cc90;ds=sidebyside libs/cbi: auto-select appropriate option if create field is focused --- diff --git a/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm b/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm index 7474b77be..fb1f5e516 100644 --- a/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm +++ b/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm @@ -54,7 +54,7 @@ $Id$ />  
><%:a_s_ipt_zone_unspec_create unspecified -or- create:%>  - /> + onfocus="document.getElementById('<%=cbid%>_new').checked=true" />