summaryrefslogtreecommitdiff
path: root/app/views/projects/branches
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-17 17:05:32 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-17 17:05:32 +0200
commit50c2efea03685532024e32e2c1376cac4ed0f904 (patch)
tree7e76611e4ef5127c42d2761918d43ba67bb96ec7 /app/views/projects/branches
parent27cf081e1b0b1df1661aaf0ae6b60b05ef3eb8d8 (diff)
downloadgitlab-ce-50c2efea03685532024e32e2c1376cac4ed0f904.tar.gz
don't lookup branch element - it might need to be escaped
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r--app/views/projects/branches/destroy.js.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/branches/destroy.js.haml b/app/views/projects/branches/destroy.js.haml
index ec1661c0aaa..882a4d0c5e2 100644
--- a/app/views/projects/branches/destroy.js.haml
+++ b/app/views/projects/branches/destroy.js.haml
@@ -1,3 +1 @@
-:plain
- $(".js-branch-#{@branch_name}").remove();
- $('.js-totalbranch-count').html("#{@repository.branches.size}")
+$('.js-totalbranch-count').html("#{@repository.branches.size}")