From 1908f76eaf198c52c85e8b0db04b77e03f971d76 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 27 Jul 2014 17:45:05 -0700 Subject: [PATCH] Fixed ajax calls to update function. --- gui/slick/js/config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/slick/js/config.js b/gui/slick/js/config.js index c062c1f6..a754b863 100644 --- a/gui/slick/js/config.js +++ b/gui/slick/js/config.js @@ -71,9 +71,8 @@ $(document).ready(function () { }); $('#branchCheckout').click(function () { - $("#branchCheckout").attr("disabled", true); - $.get(sbRoot + "/home/branchCheckout", {'branch': $("#branchVersion").val()}, - function (data){ $(this).html(data); }); + url = sbRoot+'/home/branchCheckout?branch='+$("#branchVersion").val(); + window.location.href = url; }); });