From: Jo-Philipp Wich Date: Sun, 4 Mar 2012 14:15:09 +0000 (+0000) Subject: libs/web: fix wrong default focus in dynlist widgets (#388) X-Git-Tag: 0.11.0~1022 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fd0f8e80c50f01020258c73c41e206c38b4ca824;p=oweals%2Fluci.git libs/web: fix wrong default focus in dynlist widgets (#388) --- 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)