libs/web: fix wrong default focus in dynlist widgets (#388)

This commit is contained in:
Jo-Philipp Wich 2012-03-04 14:15:09 +00:00
parent 9de7ff8e69
commit fd0f8e80c5

View file

@ -748,7 +748,7 @@ function cbi_dynlist_init(name, respath, datatype, optional, choices)
return false; return false;
} }
cbi_dynlist_redraw(-1, -1, -1); cbi_dynlist_redraw(NaN, -1, -1);
} }
//Hijacks the CBI form to send via XHR (requires Prototype) //Hijacks the CBI form to send via XHR (requires Prototype)