pandorafms/pandora_console/include/javascript/tactical_groups.js

19 lines
349 B
JavaScript
Raw Normal View History

/* global $, load_modal */
2023-03-02 11:10:37 +01:00
function showInfoAgent(id_agent) {
load_modal({
target: $("#modal-info-agent"),
url: "ajax.php",
modal: {
title: "Info agent",
cancel: "close"
},
onshow: {
page: "include/ajax/group",
method: "loadInfoAgent",
extradata: {
idAgent: id_agent
}
}
});
}