var EventDashboard= function () {
/// Constructor function of the event EventDashboard class.
///
return {
///
///Initializes the event dashboard.
///
///
/// 1.0.0
init: function()
{
Common.logInfo("EventDashboard.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', EventDashboard.confirmation.showDialog);
}
},
confirmation:{
///
/// Show bootstrap third party confirmation dialog when click on 'Delete' options on event dashboard page where show delete event option.
///
///
///
/// 1.0.0
showDialog: function(event)
{
Common.logInfo("EventDashboard.confirmation.showDialog...");
return confirm(event_manager_event_dashboard.i18n_confirm_delete);
event.preventDefault();
},
} //end of comfirmation
} //enf of return
}; //end of class
EventDashboard= EventDashboard();
jQuery(document).ready(function($)
{
EventDashboard.init();
});