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

@ -3,8 +3,7 @@
define(['app'], function () {
NzbDrone.Shared.FormatHelpers.FileSizeHelper = function (sourceSize) {
var size = Number(sourceSize);
this.$el.html(size.bytes(1));
return this;
return size.bytes(1);
};
NzbDrone.Shared.FormatHelpers.DateHelper = function (sourceDate) {
@ -33,4 +32,4 @@ define(['app'], function () {
return date.format('{MM}/{dd}/{yyyy}');
};
});
});