MAPG-125 re-add select map name when opening modal

This commit is contained in:
Bence Pőcze 2020-06-14 02:53:11 +02:00
parent 5760e31e29
commit 2aa3cdc7f3

View File

@ -412,6 +412,7 @@
e.preventDefault(); e.preventDefault();
MapGuesser.showModal('metadata'); MapGuesser.showModal('metadata');
document.getElementById('metadataForm').elements.name.select();
}; };
document.getElementById('metadataForm').onsubmit = function (e) { document.getElementById('metadataForm').onsubmit = function (e) {