diff options
author | victorwu <victor@gitlab.com> | 2016-12-21 10:28:51 -0500 |
---|---|---|
committer | victorwu <victor@gitlab.com> | 2016-12-21 10:56:20 -0500 |
commit | 04b92e192d1d8a3ac7120283a9aff16e1d0e51f8 (patch) | |
tree | dca8fae58253f3cbbd18e1b6195c7d5b6d085cb2 | |
parent | cdea3b49ed221f73b51fc62a79941ba225780dc5 (diff) | |
download | gitlab-ce-re-style-issue-new-branch.tar.gz |
Remove references to .checking in jsre-style-issue-new-branch
-rw-r--r-- | app/assets/javascripts/issue.js | 3 | ||||
-rw-r--r-- | changelogs/unreleased/re-style-issue-new-branch.yml | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/issue.js b/app/assets/javascripts/issue.js index 63b70d4be17..61e8531153b 100644 --- a/app/assets/javascripts/issue.js +++ b/app/assets/javascripts/issue.js @@ -139,15 +139,12 @@ return; } return $.getJSON($container.data('path')).error(function() { - $container.find('.checking').hide(); $container.find('.unavailable').show(); return new Flash('Failed to check if a new branch can be created.', 'alert'); }).success(function(data) { if (data.can_create_branch) { - $container.find('.checking').hide(); $container.find('.available').show(); } else { - $container.find('.checking').hide(); return $container.find('.unavailable').show(); } }); diff --git a/changelogs/unreleased/re-style-issue-new-branch.yml b/changelogs/unreleased/re-style-issue-new-branch.yml new file mode 100644 index 00000000000..f2eece60016 --- /dev/null +++ b/changelogs/unreleased/re-style-issue-new-branch.yml @@ -0,0 +1,4 @@ +--- +title: Remove checking branches state in issue new branch button +merge_request: 8023 +author: victorwu |