Servicios

This commit is contained in:
Oscar Irigoyen
2022-10-14 22:16:03 -07:00
parent 7760088839
commit f5d84f920d
7 changed files with 110 additions and 22 deletions

View File

@@ -619,7 +619,8 @@
// if addresult is -1, means event was not added
// alert("added key: " + addResult);
if (addResult != -1) {
if (addResult != -1) {
$('#calendar').fullCalendar('renderEvent',
{
title: $("#addEventName").val(),
@@ -632,8 +633,12 @@
true // make the event "stick"
);
$('#calendar').fullCalendar('option', 'minTime', '06:00:00');
$('#calendar').fullCalendar('option', 'maxTime', '17:00:00');
$('#calendar').fullCalendar('unselect');
}
}
@@ -770,6 +775,8 @@
selectHelper: true,
select: selectDate,
editable: true,
minTime: "08:00:00",
maxTime: "17:00:00",
events: {
url: '/Ashx/CargaEventos.ashx',
type: 'GET',