MAPG-180 standardize form submit with AJAX

This commit is contained in:
bence committed 2020-06-25 22:35:04 +02:00
1 parent e4a51c139f
commit ec969167e4
12 files changed
+18 -148

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ $jsFiles = [
</header>
<div id="metadata" class="modal">
<h2>Edit map data</h2>
<form id="metadataForm" class="marginTop">
<form id="metadataForm" class="marginTop" data-no-submit="true">
<input class="fullWidth" type="text" name="name" value="<?= $mapName ?>" placeholder="Name of the map">
<textarea class="fullWidth marginTop" name="description" rows="4" placeholder="Description of the map"><?= $mapDescription ?></textarea>
<div class="right">