mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 14:55:07 -05:00
Testing checkout feature
This commit is contained in:
parent
27c4b66bf6
commit
0f2941435f
@ -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); });
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -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):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user