1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +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"> <div class="controls">
<select class="inputClass" name="authenticationType"> <select class="inputClass" name="authenticationType">
<option value="Anonymous">Anonymous</option> <option value="anonymous">Anonymous</option>
<option value="Basic">Basic</option> <option value="basic">Basic</option>
</select> </select>
</div> </div>
</div> </div>

View file

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