submit button for settings form
This commit is contained in:
parent
44f2fcbb4b
commit
c7a6f69679
@ -11,6 +11,10 @@
|
||||
|
||||
$(document).on("selectedServerChange", async function() {
|
||||
server = getCurrentlyActiveServer();
|
||||
updateColourInput("defaultEmbedColour", "#" + server.default_embed_colour);
|
||||
});
|
||||
|
||||
updateColourInput("defaultEmbedColour", server.default_embed_colour);
|
||||
});
|
||||
$("#serverSettingsForm").on("submit", function(e) {
|
||||
e.preventDefault();
|
||||
alert("not implemented");
|
||||
})
|
@ -8,5 +8,8 @@
|
||||
data-defaultcolour="#3498db">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 text-end">
|
||||
<button type="submit" id="saveSettings" class="btn btn-primary rounded-1">Save Changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
Loading…
x
Reference in New Issue
Block a user