dasch-swiss / dsp-api

DaSCH Service Platform API
http://admin.dasch.swiss
Apache License 2.0
74 stars 18 forks source link

SALSAH-Login: login is sent twice after hitting return #151

Closed tobiasschweizer closed 5 months ago

tobiasschweizer commented 8 years ago

When the login form is sent by hitting return in the password input field, the POST request is done twice.

in index.html:

<tr><td id="password_label"></td><td>:</td><td><input type="password" name="password" id="password" onKeyDown="if (event.keyCode == 13) $('#login_button').click();" /></td></tr>
subotic commented 8 years ago

Yes, see http://git.iml.unibas.ch/salsah-suite/knora/issues/196

At that time, it was even stranger:

Is it still like this?

tobiasschweizer commented 8 years ago

Yes, this is excactly the problem