summaryrefslogtreecommitdiffhomepage
path: root/libs/web/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-04 14:15:09 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-04 14:15:09 +0000
commitfd0f8e80c50f01020258c73c41e206c38b4ca824 (patch)
tree7b04bdc85a51f657254d6f05fee7c7b0f6b6ea41 /libs/web/htdocs/luci-static
parent9de7ff8e69420b16078c51f6a1181d4438b653e9 (diff)
libs/web: fix wrong default focus in dynlist widgets (#388)
Diffstat (limited to 'libs/web/htdocs/luci-static')
-rw-r--r--libs/web/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js
index 8ced4419ae..0a49a693a3 100644
--- a/libs/web/htdocs/luci-static/resources/cbi.js
+++ b/libs/web/htdocs/luci-static/resources/cbi.js
@@ -748,7 +748,7 @@ function cbi_dynlist_init(name, respath, datatype, optional, choices)
return false;
}
- cbi_dynlist_redraw(-1, -1, -1);
+ cbi_dynlist_redraw(NaN, -1, -1);
}
//Hijacks the CBI form to send via XHR (requires Prototype)