Browse Source

defer the whole "set focus" thing by 250ms to correctly focus the username field. #fixes #167

Natenom/support-murmur-13-1446181288462
Michael Ziegler 13 years ago
parent
commit
52e704799e
  1. 2
      pyweb/mumble/media/js/loginout_buttons.js

2
pyweb/mumble/media/js/loginout_buttons.js

@ -95,7 +95,9 @@ Ext.ux.ButtonLogin = Ext.extend(Ext.Button, {
mypos[0] + mysize.width - winsize.width,
mypos[1] - winsize.height
);
(function(){
Ext.fly('login_field_username').focus();
}).defer(250);
}
else
this.wnd.hide();

Loading…
Cancel
Save