Browse Source

data-date in listview

Adam Shaw 9 years ago
parent
commit
05b4e2ef12
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/list/ListView.js

+ 1 - 1
src/list/ListView.js

@@ -174,7 +174,7 @@ var ListViewGrid = Grid.extend({
 		var mainFormat = view.opt('listDayFormat');
 		var altFormat = view.opt('listDayAltFormat');
 
-		return '<tr class="fc-list-heading">' +
+		return '<tr class="fc-list-heading" data-date="' + dayDate.format('YYYY-MM-DD') + '">' +
 			'<td class="' + view.widgetHeaderClass + '" colspan="3">' +
 				(mainFormat ?
 					view.buildGotoAnchorHtml(