fixed minor bug: Assigned node field showing in meta user update form when selecting admin profile in case the user was a stardard user
This commit is contained in:
parent
75ad60a071
commit
5eed82eb62
|
@ -741,10 +741,14 @@ $(document).ready (function () {
|
||||||
if($('#radiobtn0002').prop('checked')) {
|
if($('#radiobtn0002').prop('checked')) {
|
||||||
$('#user_configuration_table-metaconsole_agents_manager').show();
|
$('#user_configuration_table-metaconsole_agents_manager').show();
|
||||||
$('#user_configuration_table-metaconsole_access_node').show();
|
$('#user_configuration_table-metaconsole_access_node').show();
|
||||||
|
if($('#checkbox-metaconsole_agents_manager').prop('checked')) {
|
||||||
|
$('#user_configuration_table-metaconsole_assigned_server').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('#user_configuration_table-metaconsole_agents_manager').hide();
|
$('#user_configuration_table-metaconsole_agents_manager').hide();
|
||||||
$('#user_configuration_table-metaconsole_access_node').hide();
|
$('#user_configuration_table-metaconsole_access_node').hide();
|
||||||
|
$('#user_configuration_table-metaconsole_assigned_server').hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue