/usr/share/civicrm/js/crm.admin.js is in civicrm-common 4.7.30+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | // https://civicrm.org/licensing
(function($) {
"use strict";
$(document)
.on('crmLoad', function(e) {
$('.crm-icon-picker', e.target).not('.iconpicker-widget').each(function() {
var $el = $(this);
CRM.loadScript(CRM.config.resourceBase + 'js/jquery/jquery.crmIconPicker.js').done(function() {
$el.crmIconPicker();
});
// Hack to get the strings in this lazy-loaded file translated
ts('None');
ts('Normal');
ts('Rotate right');
ts('Rotate left');
ts('Rotate 180');
ts('Flip horizontal');
ts('Flip vertical');
});
});
})(CRM.$);
|