1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Testing checkout feature

This commit is contained in:
echel0n 2014-07-27 17:21:55 -07:00
parent 27c4b66bf6
commit 0f2941435f
2 changed files with 4 additions and 4 deletions

View File

@ -72,8 +72,8 @@ $(document).ready(function () {
$('#branchCheckout').click(function () {
$("#branchCheckout").attr("disabled", true);
url = sbRoot+'/home/branchCheckout?branch='+$("#branchVersion").val();
window.location.href = url;
$.get(sbRoot + "/home/branchCheckout", {'branch': $("#branchVersion").val()},
function (data){ $(this).html(data); });
});
});

View File

@ -3469,7 +3469,7 @@ class Home(MainHandler):
"Update wasn't successful, not restarting. Check your log for more information.")
def branchCheckout(self, branch):
self.update(sickbeard.PID, branch)
return self.update(sickbeard.PID, branch)
def displayShow(self, show=None):