1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 17:27:18 +00:00

General settings tab is model bound

This commit is contained in:
Mark McDowall 2013-07-09 20:05:43 -07:00
parent 1905b66a66
commit 1b83549cab
2 changed files with 6 additions and 4 deletions

View file

@ -45,8 +45,8 @@
<div class="controls">
<select class="inputClass" name="authenticationType">
<option value="Anonymous">Anonymous</option>
<option value="Basic">Basic</option>
<option value="anonymous">Anonymous</option>
<option value="basic">Basic</option>
</select>
</div>
</div>

View file

@ -1,8 +1,10 @@
'use strict';
define(['marionette'], function (Marionette) {
return Marionette.ItemView.extend({
define(['marionette', 'Mixins/AsModelBoundView'], function (Marionette, AsModelBoundView) {
var view = Marionette.ItemView.extend({
template: 'Settings/General/GeneralTemplate'
}
);
return AsModelBoundView.call(view);
});