From 66c1e6b0e8308068dbddaec03585f388875f4192 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 23 Mar 2017 14:28:31 -0400 Subject: user/settings: complete repositories panel (#4312) --- public/js/gogs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js') diff --git a/public/js/gogs.js b/public/js/gogs.js index 378b0bbd..17c7b53d 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -1308,7 +1308,7 @@ $(document).ready(function () { $.post($this.data('url'), { "_csrf": csrf, "id": $this.data("id") - }).done(function (data) { + }).success(function (data) { window.location.href = data.redirect; }); } -- cgit v1.2.3