X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fjquery%2Fjquery.crmIconPicker.js;h=5dea481a856b629f7e5f26be682cd590fd0c1ece;hb=713e5ca2f79714b7b189210bf0356317dc9b2e0e;hp=6e84df5c026ed09da2f65caab8e68feeaa0f89e9;hpb=1c5bc02c1bbfc3cbbee279e61b488787a4c41daf;p=civicrm-core.git diff --git a/js/jquery/jquery.crmIconPicker.js b/js/jquery/jquery.crmIconPicker.js index 6e84df5c02..5dea481a85 100644 --- a/js/jquery/jquery.crmIconPicker.js +++ b/js/jquery/jquery.crmIconPicker.js @@ -80,9 +80,9 @@ function displayDialog() { dialog.append('' + '' + @@ -117,4 +117,9 @@ }); }; + + $(document) + .on('crmLoad', function(e) { + $('.crm-icon-picker', e.target).not('.iconpicker-widget').crmIconPicker(); + }); }(CRM.$, CRM._));