mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Fixed encryption warning on custom fields
This commit is contained in:
parent
de18e2a887
commit
cb1e3b7978
|
@ -160,12 +160,14 @@
|
|||
}).change();
|
||||
});
|
||||
|
||||
|
||||
|
||||
// Checkbox handling
|
||||
$('div.icheckbox_minimal-blue').on('ifChecked', function(event){
|
||||
$('#field_encrypted').on('ifChecked', function(event){
|
||||
$("#encrypt_warning").show();
|
||||
});
|
||||
|
||||
$('div.icheckbox_minimal-blue').on('ifUnchecked', function(event){
|
||||
$('#field_encrypted').on('ifUnchecked', function(event){
|
||||
$("#encrypt_warning").hide();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue