summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-09-21 10:17:27 +0100
committerPhil Hughes <me@iamphill.com>2016-09-21 10:19:47 +0100
commita83262fffa526350fee32d7197309e5f095bd7ba (patch)
treedf1fd666a5e740cbf8acf6d034be923dc0e03a9f /app/assets/javascripts
parent1f49b99a5cb56317cd7157dfa0f7f9f1ff60a4ab (diff)
downloadgitlab-ce-a83262fffa526350fee32d7197309e5f095bd7ba.tar.gz
Changed props to use stringsresolve-buttons-path
Use jQuery
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/notes.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js
index ae2214767a8..866a04d3e21 100644
--- a/app/assets/javascripts/notes.js
+++ b/app/assets/javascripts/notes.js
@@ -432,9 +432,9 @@
var $form = $(xhr.target);
if ($form.attr('data-resolve-all') != null) {
- var projectPath = $form.attr('data-project-path')
- discussionId = $form.attr('data-discussion-id'),
- mergeRequestId = $form.attr('data-noteable-iid');
+ var projectPath = $form.data('project-path')
+ discussionId = $form.data('discussion-id'),
+ mergeRequestId = $form.data('noteable-iid');
if (ResolveService != null) {
ResolveService.toggleResolveForDiscussion(projectPath, mergeRequestId, discussionId);