EasyUI Forum

General Category => Bug Report => Topic started by: chrwei on December 16, 2014, 08:50:09 AM



Title: Messager prompt focus
Post by: chrwei on December 16, 2014, 08:50:09 AM
In both IE and Chrome the input does not get focus like the code says it should.  this is because it's using
Code:
win.children("input.messager-input").focus();
which only gets direct decedents, and the input is inside a <div>.  Changing to
Code:
win.find("input.messager-input").focus();
works.


Title: Re: Messager prompt focus
Post by: jarry on December 16, 2014, 08:55:43 AM
To solve this issue, please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.1-patch.zip.