FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
515 stars 1.6k forks source link

Javascript issue #121

Closed b1rdex closed 7 years ago

b1rdex commented 8 years ago
<form onkeypress="if (event.keyCode == 13) { document.getElementById('rdpconnect').focus();document.getElementById('rdpconnect').click(); return event.preventDevault();}">

must be event.preventDefault.

@c64cosmin (assuming you're main contributor for this thing) here is link based on your fork: https://github.com/c64cosmin/FreeRDP-WebConnect/blob/f2ab584abff3ecd6405eb5a3e3c4f77aacc6f9d1/wsgate/webroot/index-debug.html#L527

c64cosmin commented 8 years ago

Thank you for pointing that! That was there for quite a while, haha.