mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 05:31:30 +02:00
Ctrl-enter submit the form on custom alias page
This commit is contained in:
parent
8a74aee363
commit
e75ede969a
@ -109,6 +109,13 @@
|
|||||||
<script>
|
<script>
|
||||||
$('.mailbox-select').multipleSelect();
|
$('.mailbox-select').multipleSelect();
|
||||||
|
|
||||||
|
// Ctrl-enter submit the form
|
||||||
|
$('form').keydown(function(event) {
|
||||||
|
if (event.ctrlKey && event.keyCode === 13) {
|
||||||
|
$("#submit").click();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
$("#submit").on("click", async function () {
|
$("#submit").on("click", async function () {
|
||||||
let that = $(this);
|
let that = $(this);
|
||||||
let mailbox_ids = $(`#mailboxes`).val();
|
let mailbox_ids = $(`#mailboxes`).val();
|
||||||
|
Loading…
Reference in New Issue
Block a user