|
|
@ -2314,6 +2314,7 @@ $(document).ready(async () => { |
|
|
|
$('.delete-button').on('click', showDeletePopup); |
|
|
|
$('.delete-button').on('click', showDeletePopup); |
|
|
|
$('.add-all-button').on('click', showAddAllPopup); |
|
|
|
$('.add-all-button').on('click', showAddAllPopup); |
|
|
|
$('.link-action').on('click', linkAction); |
|
|
|
$('.link-action').on('click', linkAction); |
|
|
|
|
|
|
|
$('.language-menu a[lang]').on('click', linkLanguageAction); |
|
|
|
$('.link-email-action').on('click', linkEmailAction); |
|
|
|
$('.link-email-action').on('click', linkEmailAction); |
|
|
|
|
|
|
|
|
|
|
|
$('.delete-branch-button').on('click', showDeletePopup); |
|
|
|
$('.delete-branch-button').on('click', showDeletePopup); |
|
|
@ -2602,6 +2603,13 @@ function linkAction(e) { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function linkLanguageAction() { |
|
|
|
|
|
|
|
const $this = $(this); |
|
|
|
|
|
|
|
$.post($this.data('url')).always(() => { |
|
|
|
|
|
|
|
window.location.reload(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function linkEmailAction(e) { |
|
|
|
function linkEmailAction(e) { |
|
|
|
const $this = $(this); |
|
|
|
const $this = $(this); |
|
|
|
$('#form-uid').val($this.data('uid')); |
|
|
|
$('#form-uid').val($this.data('uid')); |
|
|
|