Your IP : 216.73.216.158


Current Path : /home/megadansyp/www/components/com_jevents/assets/js/
Upload File :
Current File : /home/megadansyp/www/components/com_jevents/assets/js/editpopupJQ.min.js

function jevEditPopup(url){try{jQuery(".action_dialogJQ").modal("hide")}catch(e){}jQuery("#myEditModal .modal-header").css({display:"block"});jQuery("#myEditModal .modal-title").html(Joomla.JText._("JEV_ADD_EVENT"));launchModal("#myEditModal",url)}function jevEditTranslation(url,title){try{jQuery(".action_dialogJQ").modal("hide")}catch(e){}jQuery("#myEditModal .modal-header").css({display:"block"});jQuery("#myEditModal .modal-title").html(title);launchModal("#myEditModal",url)}function jevEditPopupNoHeader(url){try{jQuery(".action_dialogJQ").modal("hide")}catch(e){}var bootstrap3_enabled=typeof jQuery().emulateTransitionEnd=="function";jQuery("#myEditModal .modal-body").css({top:"5px"});jQuery("#myEditModal .modal-header").css({display:"none"});launchModal("#myEditModal",url)}function jevEditPopupNoTitle(url){try{jQuery(".action_dialogJQ").modal("hide")}catch(e){}jQuery("#myEditModal .modal-body").css({top:"5px"});jQuery("#myEditModal .modal-header .close").css({"margin-right":"-15px","margin-top":"-15px",opacity:1,"font-size:":"30px"});jQuery("#myEditModal .modal-header ").css({height:"0px","z-index":"99",border:"none"});jQuery("#myEditModal .modal-header .modal-title").css({display:"none"});launchModal("#myEditModal",url)}function launchModal(selector,url){jQuery(selector+" iframe").attr("src","");var bootstrap3_enabled=typeof jQuery().emulateTransitionEnd=="function";if(bootstrap3_enabled){jQuery(selector).off("shown.bs.modal");jQuery(selector).on("shown.bs.modal",function(){var scrollT=jQuery(window).scrollTop();if(scrollT>0){jQuery(selector).data("scrollTop",scroll)}if(url){jQuery(selector+" iframe").attr("src",url)}});jQuery(selector).on("hidden.bs.modal",function(){var scrollT=jQuery(selector).data("scrollTop")||0;if(scroll>0){jQuery(window).scrollTop(scrollT)}})}else{jQuery(selector).off("shown");jQuery(selector).on("shown",function(){var scrollT=jQuery(window).scrollTop();if(scrollT>0){jQuery(selector).data("scrollTop",scrollT)}jQuery("body").css({});if(url){jQuery(selector+" iframe").attr("src",url)}});jQuery(selector).on("hidden",function(){jQuery("body").css({position:"static"});var scrollT=jQuery(selector).data("scrollTop")||0;if(scrollT>0){jQuery(window).scrollTop(scrollT)}})}try{var myModal=new bootstrap.Modal(document.querySelector(selector),{backdrop:true,show:true,keyboard:true,remote:""});myModal.show()}catch(e){jQuery(selector).modal({backdrop:true,show:true,keyboard:true,remote:""})}}