Fix bug.
This commit is contained in:
parent
6e63cf4777
commit
b3876c00d0
|
@ -173,11 +173,11 @@ var Calendar = function(dom,property_id,currentView,display_hire_event){
|
|||
c.calendar_dom.calendar.refetchEvents();
|
||||
},
|
||||
eventTimeFormat: { hour12: true, hour: '2-digit', minute: '2-digit', omitZeroMinute: true, meridiem: 'narrow' },
|
||||
eventClick: function(calEvent, e, view) {
|
||||
if(calEvent.jsEvent && !e){
|
||||
e = {"originalEvent": calEvent.jsEvent}
|
||||
}
|
||||
var el = $(calEvent.el);
|
||||
eventClick: function(eventClickInfo) {
|
||||
var calEvent = {"event": eventClickInfo.event},
|
||||
originalEvent = eventClickInfo.jsEvent,
|
||||
view = eventClickInfo.view,
|
||||
el = eventClickInfo.el;
|
||||
if(el.hasClass("reserve_btn")){
|
||||
window.calEvent = calEvent;
|
||||
var start_time = calEvent.event.start;
|
||||
|
|
Loading…
Reference in New Issue