PATH:
home
/
lab2454c
/
archfort.com
/
wp-content
/
plugins
/
wp-user-frontend
/
assets
/
js
/*jshint devel:true */ /*global send_to_editor */ /*global tb_remove */ jQuery(function($) { $('#wpuf-form-insert').on('click', function(e) { e.preventDefault(); var shortcode = '', type = $('#wpuf-form-type').val(); if ( type === 'post' ) { var post = $('#wpuf-form-post').val(); shortcode += '[wpuf_form id="' + post + '"]'; } else { var registration = $('#wpuf-form-registration').val(); shortcode += '[wpuf_profile type="registration" id="' + registration + '"] [wpuf_profile type="profile" id="' + registration + '"]'; } send_to_editor(shortcode); tb_remove(); }); $('#wpuf-form-type').on('change', function() { var val = $(this).val(); if ( val === 'post' ) { $('.show-if-post').show(); $('.show-if-registration').hide(); } else { $('.show-if-post').hide(); $('.show-if-registration').show(); } }); $('#wpuf-form-type').trigger('change'); });
[-] jquery.validate.min.js
[edit]
[-] metabox-tabs.js
[edit]
[+]
admin
[-] wpuf-tmc-button.js
[edit]
[-] admin-profile-subs.js
[edit]
[-] wpuf-form-builder-mixins.js
[edit]
[+]
..
[-] wpuf-login-widget.js
[edit]
[-] subscriptions.js
[edit]
[-] jquery-ui-timepicker-addon.js
[edit]
[-] jquery.smallipop-0.4.0.min.js
[edit]
[-] admin-shortcode.js
[edit]
[-] upload.js
[edit]
[+]
jquery-blockui
[-] wpuf-form-builder-components.js
[edit]
[-] conditional.js
[edit]
[-] wpuf-form-builder.js
[edit]
[-] frontend-form.js
[edit]
[-] upload.min.js
[edit]
[+]
selectWPUF
[-] chosen.jquery.js
[edit]
[-] wpuf-form-builder-wpuf-forms.js
[edit]
[-] billing-address.js
[edit]
[-] wpuf-admin-tools.js
[edit]
[-] frontend-form.min.js
[edit]
[-] countries.json
[edit]
[-] wpuf-admin.js
[edit]