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:
@ -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);
|
||||
|
Reference in New Issue
Block a user