From ce08c6d9b6eecf5cda186dd60f9ca4474829ec78 Mon Sep 17 00:00:00 2001 From: benjamin Date: Wed, 31 Jul 2024 20:56:57 +0100 Subject: [PATCH] add crm-i class to iconpicker starting value to ensure shims are loaded --- js/jquery/jquery.crmIconPicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery/jquery.crmIconPicker.js b/js/jquery/jquery.crmIconPicker.js index 587739066026..b6f895f58b54 100644 --- a/js/jquery/jquery.crmIconPicker.js +++ b/js/jquery/jquery.crmIconPicker.js @@ -44,7 +44,7 @@ var split = val.split(' '); $button.button('option', { label: split[0] || ts('None'), - icons: {primary: val ? val : 'fa-'} + icons: {primary: val ? val + ' crm-i' : 'fa-'} }); $style.toggle(!!split[0]).val(split[1] || ''); }