mirror of https://github.com/Sonarr/Sonarr
13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
"use strict";
|
|
NzbDrone.Shared.Cells.FileSizeCell = Backgrid.Cell.extend({
|
|
|
|
className: "file-size-cell",
|
|
|
|
render: function () {
|
|
var size = this.model.get(this.column.get("name"));
|
|
this.$el.html(NzbDrone.Shared.FormatHelpers.FileSizeHelper(size));
|
|
this.delegateEvents();
|
|
return this;
|
|
}
|
|
});
|