summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/protected_tags
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-04-07 18:18:58 +0530
committerKushal Pandya <kushal@gitlab.com>2017-04-07 18:18:58 +0530
commit6f15e89a6b83dcfef897dda414325b85090e2c40 (patch)
tree3b2d8d2fc6729410923571dffff05b715fedf7dd /app/assets/javascripts/protected_tags
parent72419f3a8b94874de059f3567980844c7aaa6336 (diff)
downloadgitlab-ce-6f15e89a6b83dcfef897dda414325b85090e2c40.tar.gz
Show Flash message above Tags list18471-restrict-tag-pushes-protected-tags
Diffstat (limited to 'app/assets/javascripts/protected_tags')
-rw-r--r--app/assets/javascripts/protected_tags/protected_tag_edit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/protected_tags/protected_tag_edit.js b/app/assets/javascripts/protected_tags/protected_tag_edit.js
index 624067a5a09..09a387c0f9e 100644
--- a/app/assets/javascripts/protected_tags/protected_tag_edit.js
+++ b/app/assets/javascripts/protected_tags/protected_tag_edit.js
@@ -43,7 +43,7 @@ export default class ProtectedTagEdit {
},
},
error() {
- new Flash('Failed to update tag!');
+ new Flash('Failed to update tag!', null, $('.js-protected-tags-list'));
},
}).always(() => {
this.$allowedToCreateDropdownButton.enable();