Fixed encryption warning on custom fields

This commit is contained in:
snipe 2017-08-09 18:40:45 -07:00
parent de18e2a887
commit cb1e3b7978

View file

@ -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();
});