Page 1 of 1

Repair option in smpl interface not working

Posted: January 5th, 2012, 4:57 am
by reni
I recently put my sabnzbd behind an apache with ProxyPass.
Now my sabnzbd instance is reachable on port 80 on the url http://bla/sab

Using the smpl white theme, and today i noticed that the 'Repair' option in 'Status' points to the wrong url.

Most form actions are pointing to config/blabla but the repair one had ../config/repair as the action.

Fixed it with the following change:

sabnzbdplus/interfaces/smpl/templates
--- connection_info.tmpl.org 2012-01-05 10:47:50.829102535 +0100
+++ connection_info.tmpl 2012-01-05 10:48:01.265102533 +0100
@@ -86,6 +86,6 @@
<!--#end if#-->
$T('explain-Repair')<br/>
<form action="saveGeneral" method="post">
-<input type="submit" onclick="this.form.action='../config/repair?session=$session'; this.form.submit(); return false;" value="$T('button-repair')"/>
+<input type="submit" onclick="this.form.action='config/repair?session=$session'; this.form.submit(); return false;" value="$T('button-repair')"/>
</form>

Re: Repair option in smpl interface not working

Posted: January 5th, 2012, 7:16 am
by shypike
Which version of SABnzbd is this about?

Re: Repair option in smpl interface not working

Posted: January 5th, 2012, 9:46 am
by reni
shypike wrote:Which version of SABnzbd is this about?
Sorry forgot to mention but its 0.6.14-1.

Using the debian packages:

ii sabnzbdplus 0.6.14-1 web-based binary newsgrabber with nzb support
ii sabnzbdplus-theme-classic 0.6.14-1 classic interface templates for the SABnzbd+ binary newsgrabber
ii sabnzbdplus-theme-plush 0.6.14-1 plush interface templates for the SABnzbd+ binary newsgrabber
ii sabnzbdplus-theme-smpl 0.6.14-1 smpl interface templates for the SABnzbd+ binary newsgrabber

Re: Repair option in smpl interface not working

Posted: January 6th, 2012, 3:58 pm
by shypike
Will be fixed in the next minor or major release.
Thanks.