Fixed DateCells

This commit is contained in:
Mark McDowall 2013-07-17 17:28:33 -07:00
commit fe48fd9fe9
2 changed files with 7 additions and 4 deletions

View file

@ -14,10 +14,9 @@ define(
var date = this.model.get(this.column.get('name'));
if (date) {
this.$el.html(FormatHelpers.DateHelper(date));
this.$el.html('<div>' + FormatHelpers.DateHelper(date) + '</div>');
//TODO: Figure out why this makes the series grid freak out
//this.$el.attr('title', Moment(date).format('LLLL'));
this.$el.children('div').attr('title', Moment(date).format('LLLL'));
}
return this;