adjustments to jqui theme classes on cells

This commit is contained in:
Adam Shaw
2014-08-25 20:34:51 -07:00
parent 15fc899f05
commit 5bdecb0cf0
6 changed files with 46 additions and 44 deletions
+1 -5
View File
@@ -54,16 +54,12 @@ $.extend(DayGrid.prototype, {
// Generates the HTML for a single row. `row` is the row number.
dayRowHtml: function(row, isRigid) {
var view = this.view;
var classes = [ 'fc-row', 'fc-week' ];
var classes = [ 'fc-row', 'fc-week', view.widgetContentClass ];
if (isRigid) {
classes.push('fc-rigid');
}
if (view.dayRowThemeClass) { // provides the view a hook to inject a theme className
classes.push(view.dayRowThemeClass);
}
return '' +
'<div class="' + classes.join(' ') + '">' +
'<div class="fc-bg">' +