libs/web: fix wrong default focus in dynlist widgets (#388)
[project/luci.git] / libs / web / htdocs / luci-static / resources / cbi.js
index 8ced4419aec9c4d45652c24aa6b38e9573636241..0a49a693a352593c8b1f314d21a6e1e1548b9499 100644 (file)
@@ -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)