wdCalendar editar rango de hora por defecto al crear evento

Iniciado por graphixx, Julio 14, 2015, 02:31:43 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Como modificar que por defecto los eventos en wdcalendar se crean de 1 hora de duración , a continuación veremos como cambiar ese rango horario.
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Para ello se edita el archivo:
jquery.calendar.js
Lineas 2475 y 2476, por ejemplo para quitarle media hora y que los eventos por defecto duren media hora solamente quedaria asi:
Código: text

var start = strtodate(d.target.attr("abbr") + " " + d.cgh.sh + ":" + d.cgh.sm);
var end = strtodate(d.target.attr("abbr") + " " + d.cgh.eh + ":" + (d.cgh.em-30));
Mi Blog Personal
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login