Display tooltip to create a new event after 250ms
This commit is contained in:
parent
7567fc8ff5
commit
8b0afb84c9
@ -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'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user