mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Quality settings profile view is model bound
This commit is contained in:
parent
a34e6f3c70
commit
f723a97c74
@ -3,11 +3,11 @@
|
||||
define([
|
||||
'app',
|
||||
'marionette',
|
||||
'Settings/Quality/Profile/EditQualityProfileView'
|
||||
'Settings/Quality/Profile/EditQualityProfileView',
|
||||
'Mixins/AsModelBoundView'
|
||||
], function (App, Marionette, EditProfileView, AsModelBoundView) {
|
||||
|
||||
], function (App, Marionette, EditProfileView) {
|
||||
|
||||
return Marionette.ItemView.extend({
|
||||
var view = Marionette.ItemView.extend({
|
||||
template: 'Settings/Quality/Profile/QualityProfileTemplate',
|
||||
tagName : 'tr',
|
||||
|
||||
@ -30,4 +30,6 @@ define([
|
||||
NzbDrone.modalRegion.show(view);
|
||||
}
|
||||
});
|
||||
|
||||
return AsModelBoundView.call(view);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user