calendar/app/views/admin/calendars/create.js.erb

15 lines
326 B
Plaintext
Raw Normal View History

2014-12-16 11:40:15 +00:00
$("#event_create").empty().hide();
$("#create_event_btn").removeClass("active");
$(".destroy").remove();
switch (c.view){
case "week":
c.loadWeekView(c.cur_week,c.cur_year);
break;
case "month":
c.loadMonthView(c.cur_month,c.cur_year);
break;
case "day":
c.loadDayView(c.cur_date,c.cur_month,c.cur_year);
break;
}