mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed problem with charge agents when select 'Agents firts in module bulk actions'. Tiquet: #3568
(cherry picked from commit 77758f993a5210e4cc375995b9128f2876463d78)
This commit is contained in:
parent
cc6bcc50df
commit
e0c3e04e03
@ -633,12 +633,13 @@ $(document).ready (function () {
|
||||
clean_lists();
|
||||
|
||||
if (selector == 'agents') {
|
||||
$(".select_modules_row").css('display', 'none');
|
||||
$(".select_agents_row").css('display', '');
|
||||
$(".select_modules_row").hide();
|
||||
$(".select_agents_row").show();
|
||||
$("#groups_select").trigger("change");
|
||||
}
|
||||
else if (selector == 'modules') {
|
||||
$(".select_agents_row").css('display', 'none');
|
||||
$(".select_modules_row").css('display', '');
|
||||
$(".select_agents_row").hide();
|
||||
$(".select_modules_row").show();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -873,12 +873,13 @@ $(document).ready (function () {
|
||||
clean_lists();
|
||||
|
||||
if(selector == 'agents') {
|
||||
$(".select_modules_row").css('display', 'none');
|
||||
$(".select_agents_row").css('display', '');
|
||||
$(".select_modules_row").hide();
|
||||
$(".select_agents_row").show();
|
||||
$("#groups_select").trigger("change");
|
||||
}
|
||||
else if(selector == 'modules') {
|
||||
$(".select_agents_row").css('display', 'none');
|
||||
$(".select_modules_row").css('display', '');
|
||||
$(".select_agents_row").hide();
|
||||
$(".select_modules_row").show();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user