Quality settings profile view is model bound

pull/2/head
Mark McDowall 12 years ago
parent a34e6f3c70
commit f723a97c74

@ -3,11 +3,11 @@
define([ define([
'app', 'app',
'marionette', 'marionette',
'Settings/Quality/Profile/EditQualityProfileView' 'Settings/Quality/Profile/EditQualityProfileView',
'Mixins/AsModelBoundView'
], function (App, Marionette, EditProfileView, AsModelBoundView) {
], function (App, Marionette, EditProfileView) { var view = Marionette.ItemView.extend({
return Marionette.ItemView.extend({
template: 'Settings/Quality/Profile/QualityProfileTemplate', template: 'Settings/Quality/Profile/QualityProfileTemplate',
tagName : 'tr', tagName : 'tr',
@ -30,4 +30,6 @@ define([
NzbDrone.modalRegion.show(view); NzbDrone.modalRegion.show(view);
} }
}); });
return AsModelBoundView.call(view);
}); });

Loading…
Cancel
Save