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:
parent
1905b66a66
commit
1b83549cab
2 changed files with 6 additions and 4 deletions
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue