1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Web/_backboneApp/AddSeries/RootDir/RootDirModel.js
2013-02-15 16:52:29 -08:00

15 lines
299 B
JavaScript

/// <reference path="../../app.js" />
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
idAttribute: 'Id',
mutators: {
FreeSpaceString: function () {
return this.get('FreeSpace').bytes(2) + " Free";
}
},
defaults: {
FreeSpace: 0,
}
});