Saving the config appears to work again

This commit is contained in:
Jesse Mullan
2014-10-09 10:51:03 -07:00
parent 6b4fbe002d
commit 0ffbd7824d
32 changed files with 1142 additions and 1856 deletions

View File

@@ -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");