kuldippalnpura / phpwebsocket

Automatically exported from code.google.com/p/phpwebsocket
0 stars 0 forks source link

focus #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Almost nothing but frustrating thing...
In client.html in the send(); function, when the message is empty, the alert 
box come but when i clic 'OK', the focus isn't on the text box anymore.

if(!msg){ alert("Message can not be empty"); return; }
to
if(!msg){ alert("Message can not be empty"); txt.focus(); return; }
line 31

Original issue reported on code.google.com by louis.de...@gmail.com on 28 Oct 2010 at 1:57