|
|
@ -124,13 +124,21 @@ $(document).ready(function() {
|
|
|
|
placement: 'auto'
|
|
|
|
placement: 'auto'
|
|
|
|
}).popover('show');
|
|
|
|
}).popover('show');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
eventMouseout: function (event) {
|
|
|
|
eventMouseout: function(event) {
|
|
|
|
if (event.type === 'TICKET') {
|
|
|
|
if (event.type === 'TICKET') {
|
|
|
|
// There's no popover to destroy
|
|
|
|
// There's no popover to destroy
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$(this).popover('destroy');
|
|
|
|
$(this).popover('destroy');
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
dayRender: function(date, cell) {
|
|
|
|
|
|
|
|
var $cell = $(cell);
|
|
|
|
|
|
|
|
$cell.tooltip({
|
|
|
|
|
|
|
|
container: 'body',
|
|
|
|
|
|
|
|
delay: { show: 250, hide: 0 },
|
|
|
|
|
|
|
|
title: 'Click to add event'
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|