$(document).ready(function() {
$.ajax({
url: '/templates/defaultNew/overviews/matchCalendar/getCalendar.php',
data: {poolGames_id: 4362, games_id: 4362 },
dataType: 'html',
success: function(ret){
// console.log(ret);
$('#calendarDataDiv').html(ret);
}
});
});
function showMatchDetails(match_id, super_id) {
$.ajax({
url: '/templates/defaultNew/overviews/matchCalendar/getMatchDetails.php',
data: {
'match_id': match_id,
'super_id': super_id,
'games_id': 4362 },
dataType: 'html',
success: function (ret) {
// console.log(ret);
$("#matchModal .modal-dialog").html(ret);
$("#matchModal").modal();
}
});
}