Commit 7721a447 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

login on enter

parent ded082d8
Pipeline #29014 passed with stage
in 16 minutes and 29 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();
}
});
};
/**
......
Supports Markdown
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