bug: requestFocus-fucntion in a dialog

I have the follwing method attached to a button on a form:

plugins.dialogs.showErrorDialog("Warning", "Warning!", "OK");
elements.inlognaam.requestFocus();

This is working fine!

When I show the form, in a dialog, the requestFocus-function, does not work anymore!

log.html.zip (4.69 KB)

will be fixed in 2.0.1