Servicios
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user