PATH:
home
/
ajwellnessmassag
/
angelictravels.online
/
wp-content
/
plugins
/
gravityforms
/
js
/** * Apply legacy options to DatePickers within Legacy Forms. */ gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, inputId, $element ) { var gf_legacy = window.gf_legacy_multi; if ( ! gf_legacy ) { return optionsObj; } if ( !gf_legacy[ formId ] || gf_legacy[ formId ] !== '1' ) { return optionsObj; } var $ = window.jQuery; var isPreview = $( '#preview_form_container' ).length > 0; var isRTL = window.getComputedStyle( $element[ 0 ], null ).getPropertyValue( 'direction' ) === 'rtl'; var overrides = { showOtherMonths: false, beforeShow: function( input, inst ) { inst.dpDiv[0].classList.remove( 'gform-theme-datepicker' ); inst.dpDiv[0].classList.remove( 'gravity-theme' ); inst.dpDiv[0].classList.remove( 'gform-theme' ); inst.dpDiv[0].classList.remove( 'gform-legacy-datepicker' ); inst.dpDiv[0].classList.remove( 'gform-theme--framework' ); inst.dpDiv[0].classList.remove( 'gform-theme--foundation' ); inst.dpDiv[0].classList.remove( 'gform-theme--orbital' ); inst.dpDiv[0].classList.add( 'gform-legacy-datepicker' ); if ( isRTL && isPreview ) { var $inputContainer = $( input ).closest( '.gfield' ); var rightOffset = $( document ).outerWidth() - ( $inputContainer.offset().left + $inputContainer.outerWidth() ); inst.dpDiv[ 0 ].style.right = rightOffset + 'px'; } if ( isPreview ) { inst.dpDiv[0].classList.add( 'gform-preview-datepicker' ); } return ! this.suppressDatePicker; } }; return Object.assign( optionsObj, overrides ); }, -10 );
[-] gf_field_filter.min.js
[edit]
[-] duplicate-submissions.min.js
[edit]
[-] form_editor.js
[edit]
[-] conditional_logic.min.js
[edit]
[-] duplicate-submissions.js
[edit]
[-] index.php
[edit]
[-] plugin_settings.min.js
[edit]
[-] jquery.maskedinput.min.js
[edit]
[-] jquery.json-1.3.js
[edit]
[-] form_admin.min.js
[edit]
[-] layout_editor.min.js
[edit]
[-] gf_field_filter.js
[edit]
[-] jquery.textareaCounter.plugin.min.js
[edit]
[-] datepicker-legacy.js
[edit]
[-] jquery.maskedinput.js
[edit]
[-] datepicker.js
[edit]
[-] layout_editor.js
[edit]
[-] jquery.maskedinput-1.3.1.min.js
[edit]
[-] gravityforms.js
[edit]
[-] skip.min.js
[edit]
[-] plugin_settings.js
[edit]
[-] page_conditional_logic.min.js
[edit]
[-] form_editor.min.js
[edit]
[+]
vendor
[-] datepicker.min.js
[edit]
[-] skip.js
[edit]
[-] shortcode-ui.min.js
[edit]
[-] jquery.json.min.js
[edit]
[-] gforms_hooks.js
[edit]
[-] preview.min.js
[edit]
[-] chosen.jquery.min.js
[edit]
[-] shortcode-ui.js
[edit]
[+]
..
[-] conditional_logic.js
[edit]
[-] forms.min.js
[edit]
[-] preview.js
[edit]
[-] form_admin.js
[edit]
[-] gravityforms.min.js
[edit]
[-] forms.js
[edit]
[-] tooltip_init.min.js
[edit]
[-] gforms_hooks.min.js
[edit]
[+]
components
[-] datepicker-legacy.min.js
[edit]
[-] jquery.textareaCounter.plugin.js
[edit]
[-] page_conditional_logic.js
[edit]
[-] jquery.json-1.3.min.js
[edit]
[-] placeholders.jquery.min.js
[edit]
[-] jquery.json.js
[edit]
[-] tooltip_init.js
[edit]