mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
more backbone changes.
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
/// <reference path="../../app.js" />
|
||||
/// <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,
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user