mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 01:06:30 +00:00
General settings tab is model bound
This commit is contained in:
parent
1905b66a66
commit
1b83549cab
2 changed files with 6 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue