From fd0f8e80c50f01020258c73c41e206c38b4ca824 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 4 Mar 2012 14:15:09 +0000 Subject: [PATCH] libs/web: fix wrong default focus in dynlist widgets (#388) --- libs/web/htdocs/luci-static/resources/cbi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js index 8ced4419a..0a49a693a 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) -- 2.11.0