From f723a97c7412f82c787558c93f13291b4fc40bce Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 23 Jun 2013 21:48:47 -0700 Subject: [PATCH] Quality settings profile view is model bound --- UI/Settings/Quality/Profile/QualityProfileView.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/UI/Settings/Quality/Profile/QualityProfileView.js b/UI/Settings/Quality/Profile/QualityProfileView.js index 90ec57911..74a795f33 100644 --- a/UI/Settings/Quality/Profile/QualityProfileView.js +++ b/UI/Settings/Quality/Profile/QualityProfileView.js @@ -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); });