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