Virtualus turas


"; window.send_to_editor(shortcode+"\r\n"); jQuery("[data-popup=ux_open_popup_media_button]").fadeOut(350); } } if(typeof(fbl_validate_fields) != "function") { function fbl_validate_fields() { var likebox_type = jQuery("#ux_ddl_layout_likebox").val(); var likebox = jQuery("#ux_ddl_layout_title").val(); if(likebox_type == "") { var shortCutFunction = jQuery("#toastTypeGroup_error input:checked").val(); var $toast = toastr[shortCutFunction]("Please Choose a Like Box Type"); return; } else { like_box_type(); } if(likebox == "") { var shortCutFunction = jQuery("#toastTypeGroup_error input:checked").val(); var $toast = toastr[shortCutFunction]("Please Choose a Like Box"); return; } insert_like_box(); } } if(typeof("facebook_widget_likebox_type") != "function") { function facebook_widget_likebox_type(control) { jQuery.post(ajaxurl, { type: control, param: "facebook_likebox_widget_module", action: "facebook_likebox_frontend_ajax_call", _wp_nonce: "" }, function(data) { if(data == "") { jQuery(".facebook_likebox_widget_title").html(""); } else { jQuery(".facebook_likebox_widget_title").html(data); } }); } } jQuery(document).ready(function() { show_pop_up_facebook_likebox(); facebook_widget_likebox_type("add_like_box_settings"); });
"; window.send_to_editor(shortcode+"\r\n"); jQuery("[data-popup=ux_open_popup_media_button]").fadeOut(350); } } if(typeof(fbl_validate_fields) != "function") { function fbl_validate_fields() { var likebox_type = jQuery("#ux_ddl_layout_likebox").val(); var likebox = jQuery("#ux_ddl_layout_title").val(); if(likebox_type == "") { var shortCutFunction = jQuery("#toastTypeGroup_error input:checked").val(); var $toast = toastr[shortCutFunction]("Please Choose a Like Box Type"); return; } else { like_box_type(); } if(likebox == "") { var shortCutFunction = jQuery("#toastTypeGroup_error input:checked").val(); var $toast = toastr[shortCutFunction]("Please Choose a Like Box"); return; } insert_like_box(); } } if(typeof("facebook_widget_likebox_type") != "function") { function facebook_widget_likebox_type(control) { jQuery.post(ajaxurl, { type: control, param: "facebook_likebox_widget_module", action: "facebook_likebox_frontend_ajax_call", _wp_nonce: "" }, function(data) { if(data == "") { jQuery(".facebook_likebox_widget_title").html(""); } else { jQuery(".facebook_likebox_widget_title").html(data); } }); } } jQuery(document).ready(function() { show_pop_up_facebook_likebox(); facebook_widget_likebox_type("add_like_box_settings"); });