From cb1e3b7978ff6b20192ebae8b314884d06f0b135 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 9 Aug 2017 18:40:45 -0700 Subject: [PATCH] Fixed encryption warning on custom fields --- resources/views/custom_fields/fields/edit.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/custom_fields/fields/edit.blade.php b/resources/views/custom_fields/fields/edit.blade.php index 853b389718..2e058a90aa 100644 --- a/resources/views/custom_fields/fields/edit.blade.php +++ b/resources/views/custom_fields/fields/edit.blade.php @@ -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(); });