mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Changed js code for checkout button to perform a windows.location.href to redirect on click event.
This commit is contained in:
parent
e9eca837a8
commit
27c4b66bf6
@ -72,11 +72,8 @@ $(document).ready(function () {
|
||||
|
||||
$('#branchCheckout').click(function () {
|
||||
$("#branchCheckout").attr("disabled", true);
|
||||
var branchVersion = $("#branchVersion").val();
|
||||
$.get(sbRoot + "/home/update", {'pid': sbPID, 'branch': branchVersion})
|
||||
.done(function () {
|
||||
$("#branchCheckout").attr("disabled", false);
|
||||
});
|
||||
url = sbRoot+'/home/branchCheckout?branch='+$("#branchVersion").val();
|
||||
window.location.href = url;
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user