���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/admin.adimi/layout/bootstrap4/global_assets/js/demo_pages/ |
/* ------------------------------------------------------------------------------ * * # Form actions * * Demo JS code for form_actions.html page * * ---------------------------------------------------------------------------- */ // Setup module // ------------------------------ var FormActions = function() { // // Setup module components // // Uniform var _componentUniform = function(element) { if (!$().uniform) { console.warn('Warning - uniform.min.js is not loaded.'); return; } // Default initialization $('.form-control-styled').uniform(); }; // Switchery var _componentSwitchery = function() { if (typeof Switchery == 'undefined') { console.warn('Warning - switchery.min.js is not loaded.'); return; } // Initialize var elems = Array.prototype.slice.call(document.querySelectorAll('.form-control-switchery')); elems.forEach(function(html) { var switchery = new Switchery(html); }); }; // Select2 var _componentSelect2 = function(element) { if (!$().select2) { console.warn('Warning - select2.min.js is not loaded.'); return; } // Default initialization $('.form-control-select2').select2({ minimumResultsForSearch: Infinity }); }; // // Return objects assigned to module // return { init: function() { _componentUniform(); _componentSwitchery(); _componentSelect2(); } } }(); // Initialize module // ------------------------------ document.addEventListener('DOMContentLoaded', function() { FormActions.init(); });