PATH:
home
/
lab2454c
/
public_html
/
wp-content
/
plugins
/
user-registration-pro
/
assets
/
js
/
admin
/* global ur_enhanced_select_params */ jQuery(function ( $ ) { function getEnhancedSelectFormatString () { return { 'language': { errorLoading: function () { // Workaround for https://github.com/select2/select2/issues/4355 instead of i18n_ajax_error. return ur_enhanced_select_params.i18n_searching; }, inputTooLong: function ( args ) { var overChars = args.input.length - args.maximum; if ( 1 === overChars ) { return ur_enhanced_select_params.i18n_input_too_long_1; } return ur_enhanced_select_params.i18n_input_too_long_n.replace('%qty%', overChars); }, inputTooShort: function ( args ) { var remainingChars = args.minimum - args.input.length; if ( 1 === remainingChars ) { return ur_enhanced_select_params.i18n_input_too_short_1; } return ur_enhanced_select_params.i18n_input_too_short_n.replace('%qty%', remainingChars); }, loadingMore: function () { return ur_enhanced_select_params.i18n_load_more; }, maximumSelected: function ( args ) { if ( args.maximum === 1 ) { return ur_enhanced_select_params.i18n_selection_too_long_1; } return ur_enhanced_select_params.i18n_selection_too_long_n.replace('%qty%', args.maximum); }, noResults: function () { return ur_enhanced_select_params.i18n_no_matches; }, searching: function () { return ur_enhanced_select_params.i18n_searching; } } }; } try { $(document.body) .on('ur-enhanced-select-init', function () { // Regular select boxes $(':input.ur-enhanced-select').filter(':not(.enhanced)').each(function () { var select2_args = $.extend({ minimumResultsForSearch: 10, allowClear: $(this).data('allow_clear') ? true : false, placeholder: $(this).data('placeholder') }, getEnhancedSelectFormatString()); $( this ).selectWoo( select2_args ).addClass('enhanced'); }); $(':input.ur-enhanced-select-nostd').filter(':not(.enhanced)').each(function () { var select2_args = $.extend({ minimumResultsForSearch: 10, allowClear: true, placeholder: $(this).data('placeholder') }, getEnhancedSelectFormatString()); $(this).selectWoo(select2_args).addClass('enhanced'); }); }) .trigger('ur-enhanced-select-init'); $('html').on('click', function ( event ) { if ( this === event.target ) { $('.ur-enhanced-select, :input.ur-enhanced-select').filter('.select2-hidden-accessible').select2('close'); } }); } catch ( err ) { // If select2 failed (conflict?) log the error but don't stop other scripts breaking. window.console.log(err); } });
[-] ur-notice.min.js
[edit]
[-] form-modal.min.js
[edit]
[-] plugins.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] dashboard-widget.min.js
[edit]
[-] backbone-modal.min.js
[edit]
[-] enhanced-select.min.js
[edit]
[-] ur-notice.js
[edit]
[-] backbone-modal.js
[edit]
[-] ur-copy.js
[edit]
[-] live-user-notice.js
[edit]
[+]
gutenberg
[-] form-builder.js
[edit]
[-] form-builder.min.js
[edit]
[-] form-template-controller.min.js
[edit]
[-] settings.js
[edit]
[-] plugins.min.js
[edit]
[-] ur-copy.min.js
[edit]
[-] ur-setup.js
[edit]
[-] ur-setup.min.js
[edit]
[-] enhanced-select.js
[edit]
[-] form-modal.js
[edit]
[-] dashboard-widget.js
[edit]
[-] form-template-controller.js
[edit]
[-] settings.min.js
[edit]
[-] admin.min.js
[edit]
[-] live-user-notice.min.js
[edit]