CRM-21315 - (intra-rc regression) pay_later processor showing up in list of availabl...
[civicrm-core.git] / js / crm.admin.js
1 // https://civicrm.org/licensing
2 (function($) {
3 "use strict";
4 $(document)
5 .on('crmLoad', function(e) {
6 $('.crm-icon-picker', e.target).not('.iconpicker-widget').each(function() {
7 var $el = $(this);
8 CRM.loadScript(CRM.config.resourceBase + 'js/jquery/jquery.crmIconPicker.js').done(function() {
9 $el.crmIconPicker();
10 });
11 // Hack to get the strings in this lazy-loaded file translated
12 ts('None');
13 ts('Normal');
14 ts('Rotate right');
15 ts('Rotate left');
16 ts('Rotate 180');
17 ts('Flip horizontal');
18 ts('Flip vertical');
19 });
20 });
21 })(CRM.$);