mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fixes user add form not empty (#6996)
This commit is contained in:
parent
9607db7604
commit
b2c42f621e
1 changed files with 5 additions and 0 deletions
|
|
@ -138,6 +138,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Reset modal on close */
|
||||
$("#add_user_dialog").on('hidden.bs.modal', function() {
|
||||
frmadduser[0].reset();
|
||||
})
|
||||
|
||||
$("#user_role").change(function() {
|
||||
if ($(this).val() == "unprivileged")
|
||||
$('#unprivileged_input').show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue