Make yearly view row headers open in month view instead of adjusting year view start date

This commit is contained in:
nathangray 2016-05-27 14:55:46 -06:00
parent 736e18a553
commit 43f65b81e5

View File

@ -136,6 +136,7 @@ var et2_calendar_planner_row = (function(){ "use strict"; return et2_valueWidget
if(this._parent.options.group_by === 'month') if(this._parent.options.group_by === 'month')
{ {
this.title.attr('data-date', this.options.start_date.toJSON()); this.title.attr('data-date', this.options.start_date.toJSON());
this.title.attr('data-view', 'month');
this.title.addClass('et2_clickable et2_link'); this.title.addClass('et2_clickable et2_link');
} }
else else