mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 08:50:13 +01:00
12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
|
|
window.moment = moment;
|
||
|
|
|
||
|
|
Template.fullcalendar.rendered = function() {
|
||
|
|
var div = this.$(this.firstNode);
|
||
|
|
if(this.data != null) {
|
||
|
|
//jquery takes care of undefined values, no need to check here
|
||
|
|
div.attr('id', this.data.id);
|
||
|
|
div.addClass(this.data.class);
|
||
|
|
}
|
||
|
|
div.fullCalendar(this.data);
|
||
|
|
};
|