summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvictorwu <victor@gitlab.com>2016-12-21 10:28:51 -0500
committervictorwu <victor@gitlab.com>2016-12-21 10:56:20 -0500
commit04b92e192d1d8a3ac7120283a9aff16e1d0e51f8 (patch)
treedca8fae58253f3cbbd18e1b6195c7d5b6d085cb2
parentcdea3b49ed221f73b51fc62a79941ba225780dc5 (diff)
downloadgitlab-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.js3
-rw-r--r--changelogs/unreleased/re-style-issue-new-branch.yml4
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