From 2aa3cdc7f3786821824fa1a0fe413d065fac1f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 14 Jun 2020 02:53:11 +0200 Subject: [PATCH] MAPG-125 re-add select map name when opening modal --- public/static/js/map_editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/static/js/map_editor.js b/public/static/js/map_editor.js index 83f950a..a84c06d 100644 --- a/public/static/js/map_editor.js +++ b/public/static/js/map_editor.js @@ -412,6 +412,7 @@ e.preventDefault(); MapGuesser.showModal('metadata'); + document.getElementById('metadataForm').elements.name.select(); }; document.getElementById('metadataForm').onsubmit = function (e) {