libs/web: fix undesired autofocus of DynamicList widget

This commit is contained in:
Jo-Philipp Wich 2011-12-20 02:56:03 +00:00
parent 6ae669da06
commit 161218a576

View file

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