Commit 6d11244e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '1312-confirm-login-by-press-enter-key-nice-to-have' into 'master'

Resolve "confirm login by press Enter key - nice to have"

Closes #1312

See merge request !1202
parents d6f7ddad 7721a447
Pipeline #29018 failed with stage
in 60 minutes and 5 seconds
......@@ -19,6 +19,8 @@ minerva (15.1.0) unstable; urgency=medium
CONVERSION (#1300)
* Small improvement: when uploading complex map with images warnings are
raised if images are not referenced in coords.txt file (#1308)
* Small improvement: hitting enter after filling credentials automatically
tries to log in (#1312)
* Bug fix: export to image from selected polygon contained all elements
inside rectangle bounded by the polygon coordinates (#1096)
* Bug fix: continuous refreshing list of project when uploading/removing
......
......@@ -134,6 +134,16 @@ LoginDialog.prototype._createLoginTab = function () {
href: "#"
}));
$(loginInput).on('keypress', function (e) {
if (e.which === 13) {
$(passwordInput).focus();
}
});
$(passwordInput).on('keypress', function (e) {
if (e.which === 13) {
$(loginButton).click();
}
});
};
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment