fixed FileSizeCell, template helper.

This commit is contained in:
kay.one 2013-06-07 07:34:54 -07:00
commit 72cfde1303
7 changed files with 44 additions and 39 deletions

View file

@ -5,7 +5,8 @@ NzbDrone.Shared.Cells.FileSizeCell = Backgrid.Cell.extend({
render: function () {
var size = this.model.get(this.column.get("name"));
this.$el.html(NzbDrone.Shared.FormatHelpers.FileSizeHelper(size));
this.delegateEvents();
return NzbDrone.Shared.FormatHelpers.FileSizeHelper(size);
return this;
}
});