PATH:
home
/
lab2454c
/
veritserv.net
/
wp-content
/
plugins
/
user-registration-pro
/
assets
/
js
/
admin
;(function($){ $(function(){ // Close modal var urModalClose = function() { if ( $('#ur-modal-select-form').length ) { $('#ur-modal-select-form').get(0).selectedIndex = 0; } $('#ur-modal-backdrop, #ur-modal-wrap').css('display','none'); $( document.body ).removeClass( 'modal-open' ); }; // Open modal when media button is clicked $(document).on('click', '.ur-insert-form-button', function(event) { event.preventDefault(); $('#ur-modal-backdrop, #ur-modal-wrap').css('display','block'); $( document.body ).addClass( 'modal-open' ); }); // Close modal on close or cancel links $(document).on('click', '#ur-modal-close, #ur-modal-cancel a', function(event) { event.preventDefault(); urModalClose(); }); // Insert shortcode into TinyMCE $(document).on('click', '#ur-modal-submit', function(event) { event.preventDefault(); var shortcode; shortcode = '[user_registration_form id="' + $('#ur-modal-select-form').val() + '"'; shortcode = shortcode+']'; wp.media.editor.insert(shortcode); urModalClose(); }); }); }(jQuery));
[-] 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]