#8769 Fixed conflict
This commit is contained in:
parent
e839d82e00
commit
86052ff28a
|
@ -1523,16 +1523,16 @@ $(document).ready (function () {
|
|||
});
|
||||
|
||||
$('#checkbox-is_admin').change(function() {
|
||||
if($('#checkbox-is_admin').is(':checked') == true) {
|
||||
$('#metaconsole_agents_manager_div').show();
|
||||
$('#metaconsole_access_node_div').show();
|
||||
if($('#checkbox-metaconsole_agents_manager').prop('checked')) {
|
||||
$('#metaconsole_assigned_server_div').show();
|
||||
}
|
||||
} else {
|
||||
if ($('#checkbox-is_admin').is(':checked') == true) {
|
||||
$('#metaconsole_agents_manager_div').hide();
|
||||
$('#metaconsole_access_node_div').hide();
|
||||
$('#metaconsole_assigned_server_div').hide();
|
||||
} else {
|
||||
$('#metaconsole_agents_manager_div').show();
|
||||
$('#metaconsole_access_node_div').show();
|
||||
if ($('#checkbox-metaconsole_agents_manager').prop('checked')) {
|
||||
$('#metaconsole_assigned_server_div').show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue