Merge pull request #12123 from eileenmcnaughton/membership_type
[civicrm-core.git] / js / crm.admin.js
CommitLineData
0c6fe5b5
CW
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');
0b4d4209
CW
13 ts('Normal');
14 ts('Rotate right');
15 ts('Rotate left');
16 ts('Rotate 180');
17 ts('Flip horizontal');
18 ts('Flip vertical');
0c6fe5b5 19 });
0b4d4209 20 });
0c6fe5b5 21})(CRM.$);