1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 14:55:07 -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').click(function () {
$("#branchCheckout").attr("disabled", true); $("#branchCheckout").attr("disabled", true);
url = sbRoot+'/home/branchCheckout?branch='+$("#branchVersion").val(); $.get(sbRoot + "/home/branchCheckout", {'branch': $("#branchVersion").val()},
window.location.href = url; 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.") "Update wasn't successful, not restarting. Check your log for more information.")
def branchCheckout(self, branch): def branchCheckout(self, branch):
self.update(sickbeard.PID, branch) return self.update(sickbeard.PID, branch)
def displayShow(self, show=None): def displayShow(self, show=None):