settings is fully moved to required.

This commit is contained in:
Keivan Beigi 2013-06-18 18:02:23 -07:00
parent 73f3459264
commit 6f8c73771d
54 changed files with 533 additions and 439 deletions

View file

@ -1,16 +1,16 @@
'use strict';
define([
'app', 'Settings/SettingsModel','bootstrap'
'app', 'marionette', 'Mixins/AsModelBoundView', 'bootstrap'
], function () {
], function (App, Marionette, AsModelBoundView) {
NzbDrone.Settings.DownloadClient.DownloadClientView = Backbone.Marionette.ItemView.extend({
var view = Marionette.ItemView.extend({
template : 'Settings/DownloadClient/DownloadClientTemplate',
className: 'form-horizontal',
ui: {
bsSwitch : '.switch',
bsSwitch : '.switch',
tooltip : '.help-inline i',
pathInput : '.x-path',
sabConfig : '.x-sab-config',
@ -76,4 +76,6 @@ define([
}
}
});
return AsModelBoundView.call(view);
});