1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

move some stuff for live radar for compiled views

add chat icon to send messages to servers on server view
This commit is contained in:
RaidMax
2019-07-13 20:45:25 -05:00
parent d06cf33812
commit 15eb509ba3
10 changed files with 105 additions and 38 deletions

View File

@ -32,7 +32,9 @@ $(document).ready(function () {
*/
$('.profile-action').click(function (e) {
const actionType = $(this).data('action');
$.get('/Action/' + actionType + 'Form')
const actionId = $(this).data('action-id');
const actionIdKey = actionId == undefined ? '' : '?id=' + actionId;
$.get('/Action/' + actionType + 'Form' + actionIdKey)
.done(function (response) {
$('#actionModal .modal-message').fadeOut('fast');
$('#actionModal .modal-body-content').html(response);