mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed problem with charge agents when select 'Agents firts in module bulk actions'. Tiquet: #3568
This commit is contained in:
parent
15a101fff2
commit
c2bb42b681
@ -486,12 +486,13 @@ $(document).ready (function () {
|
|||||||
clean_lists();
|
clean_lists();
|
||||||
|
|
||||||
if (selector == 'agents') {
|
if (selector == 'agents') {
|
||||||
$(".select_modules_row").css('display', 'none');
|
$(".select_modules_row").hide();
|
||||||
$(".select_agents_row").css('display', '');
|
$(".select_agents_row").show();
|
||||||
|
$("#groups_select").trigger("change");
|
||||||
}
|
}
|
||||||
else if (selector == 'modules') {
|
else if (selector == 'modules') {
|
||||||
$(".select_agents_row").css('display', 'none');
|
$(".select_agents_row").hide();
|
||||||
$(".select_modules_row").css('display', '');
|
$(".select_modules_row").show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -846,13 +846,14 @@ $(document).ready (function () {
|
|||||||
selector = this.value;
|
selector = this.value;
|
||||||
clean_lists();
|
clean_lists();
|
||||||
|
|
||||||
if(selector == 'agents') {
|
if (selector == 'agents') {
|
||||||
$(".select_modules_row").css('display', 'none');
|
$(".select_modules_row").hide();
|
||||||
$(".select_agents_row").css('display', '');
|
$(".select_agents_row").show();
|
||||||
|
$("#groups_select").trigger("change");
|
||||||
}
|
}
|
||||||
else if(selector == 'modules') {
|
else if (selector == 'modules') {
|
||||||
$(".select_agents_row").css('display', 'none');
|
$(".select_agents_row").hide();
|
||||||
$(".select_modules_row").css('display', '');
|
$(".select_modules_row").show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user