Skip to content

A free open source IT asset/license management system

Fixed encryption warning on custom fields

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