File "editor.min.js"
Full path: /home/kosmetik/public_html/wp-content/plugins/anywhere-elementor-pro.2.15.5/includes/assets/js/editor.min.js
File
size: 1.12 B
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor Back
jQuery(document).ready((function(){elementor.hooks.addAction("panel/open_editor/widget",(function(e,t,o){var a=t.attributes.widgetType;"ae-acf-repeater"==a&&jQuery(document).on("change","select[data-setting='layout_mode']",(function(){elementor.reloadPreview()})),"ae-acf"==a&&jQuery(".elementor-control-_skin label").html("Field Type"),"ae-pods"==a&&jQuery(".elementor-control-_skin label").html("Field Type"),"ae-post-blocks"==a&&(jQuery(document).on("change","select[data-setting='layout_mode']",(function(){})),selected_post_ids=t.attributes.settings.attributes.ae_post_ids,jQuery.ajax({url:aepro.ajaxurl,dataType:"json",method:"post",data:{selected_posts:selected_post_ids,action:"ae_post_data",fetch_mode:"selected_posts"},success:function(e){options="",e.data.length&&jQuery.each(e.data,(function(e,t){options+='<option selected value="'+t.id+'">'+t.text+"</option>"})),jQuery("select[data-setting='ae_post_ids']").html(options).select2({ajax:{url:aepro.ajaxurl,dataType:"json",data:function(e){return{q:e.term,action:"ae_post_data",fetch_mode:"posts"}},processResults:function(e){return{results:e.data}}},minimumInputLength:2})}}))}))}));