Young-Politics mit Kevin Kühnert
-
3. August 2021, 12:00 – 13:00
) {
gform.hooks
= [];
}
var hooks = gform.hooks
;
if ( undefined == tag ) {
tag = action + '_' + hooks.length;
}
if( priority == undefined ){
priority = 10;
}
gform.hooks
.push( { tag:tag, callable:callable, priority:priority } );
},
doHook: function( hookType, action, args ) {
// splice args from object into array and remove first index which is the hook name
args = Array.prototype.slice.call(args, 1);
if ( undefined != gform.hooks
) {
var hooks = gform.hooks
, hook;
//sort by priority
hooks.sort(function(a,b){return a["priority"]-b["priority"]});
hooks.forEach( function( hookItem ) {
hook = hookItem.callable;
if(typeof hook != 'function')
hook = window
;
if ( 'action' == hookType ) {
hook.apply(null, args);
} else {
args
= hook.apply(null, args);
}
} );
}
if ( 'filter'==hookType ) {
return args
;
}
},
removeHook: function( hookType, action, priority, tag ) {
if ( undefined != gform.hooks
) {
var hooks = gform.hooks
;
hooks = hooks.filter( function(hook, index, arr) {
var removeHook = (undefined==tag||tag==hook.tag) && (undefined==priority||priority==hook.priority);
return !removeHook;
} );
gform.hooks
= hooks;
}
}
};
}
-html5-dom-document-internal-cdata]]>
Young Politics- Anmeldung
Hier können Sie sich zur Veranstaltung anmelden
-
Name*
Vorname
Nachname
- E-Mail*
- Einwilligung* Ich stimme der Datenschutzerklärung zu.
- Ihre Nachricht
Mit dem Abschicken des Formulars nehme ich die Datenschutzhinweise zur Kenntnis.
.checkValidity || jQuery("#gform_4")
.checkValidity()){window["gf_submitting_4"]=true;} ' onkeypress='if( event.keyCode == 13 ){ if(window["gf_submitting_4"]){return false;} if( !jQuery("#gform_4")
.checkValidity || jQuery("#gform_4")
.checkValidity()){window["gf_submitting_4"]=true;} jQuery("#gform_4").trigger("submit",
); }' />
) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_4').val();gformInitSpinner( 4, 'https://www.spd-langenhagen.de/wp-sozis/plugins/gravityforms/images/spinner.svg', true );jQuery(document).trigger('gform_page_loaded',
);window['gf_submitting_4'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_4').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded',
);window['gf_submitting_4'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_4').text());}else{jQuery('#gform_4').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger("gform_pre_post_render", [{ formId: "4", currentPage: "current_page", abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_4" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_4"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_4" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; jQuery( document ).trigger( 'gform_post_render',
); gform.utils.trigger( { event: 'gform/postRender', native: false, data: { formId: 4, currentPage: current_page } } ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );} );
/* ]]> */
-html5-dom-document-internal-cdata]]>