mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-02 17:59:28 +01:00
Saving the config appears to work again
This commit is contained in:
@@ -397,7 +397,7 @@
|
||||
<fieldset>
|
||||
<legend>Headphones Indexer</legend>
|
||||
<div class="row checkbox">
|
||||
<input id="use_headphones_indexer" type="checkbox" name="use_headphones_indexer" onclick="initConfigCheckbox($(this));" value="1" ${config['use_headphones_indexer']} /><label>Use Headphones Indexer</label>
|
||||
<input id="headphones_indexer" type="checkbox" name="headphones_indexer" onclick="initConfigCheckbox($(this));" value="1" ${config['headphones_indexer']} /><label>Use Headphones Indexer</label>
|
||||
</div>
|
||||
<div class="config">
|
||||
<div class="row">
|
||||
@@ -1303,7 +1303,7 @@
|
||||
<select name="interface"><h3>
|
||||
%for interface in config['interface_list']:
|
||||
<%
|
||||
if interface == headphones.INTERFACE:
|
||||
if interface == headphones.CFG.INTERFACE:
|
||||
selected = 'selected="selected"'
|
||||
else:
|
||||
selected = ''
|
||||
@@ -1352,7 +1352,7 @@
|
||||
<select name="mirror" id="mirror">
|
||||
%for mirror in config['mirror_list']:
|
||||
<%
|
||||
if mirror == headphones.MIRROR:
|
||||
if mirror == headphones.CFG.MIRROR:
|
||||
selected = 'selected="selected"'
|
||||
else:
|
||||
selected = ''
|
||||
@@ -2013,7 +2013,7 @@
|
||||
$( "#tabs" ).tabs();
|
||||
});
|
||||
initActions();
|
||||
initConfigCheckbox("#use_headphones_indexer");
|
||||
initConfigCheckbox("#headphones_indexer");
|
||||
initConfigCheckbox("#usenewznab");
|
||||
initConfigCheckbox("#usenzbsorg");
|
||||
initConfigCheckbox("#useomgwtfnzbs");
|
||||
|
||||
Reference in New Issue
Block a user