mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
model should automatically be bound to view.
This commit is contained in:
parent
68eada4c4d
commit
30595e85a3
22 changed files with 33 additions and 61 deletions
|
@ -11,10 +11,6 @@ define(['app', 'AddSeries/RootFolders/RootFolderCollection', 'Mixins/AutoComplet
|
|||
'click .x-remove': 'removeFolder'
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
NzbDrone.ModelBinder.bind(this.model, this.el);
|
||||
},
|
||||
|
||||
removeFolder: function () {
|
||||
this.model.destroy({ wait: true });
|
||||
this.model.collection.remove(this.model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue