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

15 lines
299 B
JavaScript
Raw Normal View History

2013-01-25 20:54:45 +03:00
/// <reference path="../../app.js" />
2013-01-24 23:48:44 +03:00
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
idAttribute: 'Id',
2013-01-25 20:54:45 +03:00
mutators: {
FreeSpaceString: function () {
return this.get('FreeSpace').bytes(2) + " Free";
}
},
defaults: {
FreeSpace: 0,
}
2013-01-24 23:48:44 +03:00
});