HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/wp-event-manager/assets/js/venue-dashboard.js
var VenueDashboard= function () {
    /// <summary>Constructor function of the event VenueDashboard class.</summary>
    /// <returns type="Home" />      
    return {
	    ///<summary>
        ///Initializes the event dashboard.  
        ///</summary>     
        ///<returns type="initialization settings" />   
        /// <since>1.0.0</since> 
        init: function() {
	  	    Common.logInfo("VenueDashboard.init...");  
	  	    if(jQuery('.event-dashboard-action-delete').length >0) {
				jQuery('.event-dashboard-action-delete').css({'cursor':'pointer'});  					
				//for delete event confirmation dialog / tooltip 
				jQuery('.event-dashboard-action-delete').on('click', VenueDashboard.confirmation.showDialog);	
	        }

	        if(jQuery('.event-venue-count').length >0) {				
				//show event list dialog / tooltip 
				jQuery('.event-venue-count').on('click', function(){
					jQuery(this).next('.venue-events-list').slideToggle();
				});	
	        }
 	 	}, 
		confirmation:{	    
             /// <summary>
	        /// Show bootstrap third party confirmation dialog when click on 'Delete' options on event dashboard page where show delete event option.	     
	        /// </summary>
	        /// <param name="parent" type="assign"></param>           
	        /// <returns type="actions" />     
	        /// <since>1.0.0</since>       
	        showDialog: function(event) {
	        	Common.logInfo("VenueDashboard.confirmation.showDialog...");	            
	           	return confirm(event_manager_venue_dashboard.i18n_confirm_delete);
	           	event.preventDefault(); 
	        },
	    }		 //end of comfirmation	 
    } //enf of return	
}; //end of class

VenueDashboard= VenueDashboard();
jQuery(document).ready(function($) {
   VenueDashboard.init();
});