diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-03-19 12:44:58 -0400 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-03-25 09:48:12 -0400 |
commit | 43a8e3a693efbbb43f4871332af6235786f18adc (patch) | |
tree | 4ad815331e30efb01dd70c69e57f10c160525a2c | |
parent | 6f48cb860957676273d1e7bfc1195195599ab0f1 (diff) | |
download | gitlab-ce-43a8e3a693efbbb43f4871332af6235786f18adc.tar.gz |
Fix subscription button by hooking it back up.
-rw-r--r-- | app/assets/javascripts/subscription.js.coffee | 1 | ||||
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/subscription.js.coffee b/app/assets/javascripts/subscription.js.coffee index 084f0e0dc65..78ed819fb4b 100644 --- a/app/assets/javascripts/subscription.js.coffee +++ b/app/assets/javascripts/subscription.js.coffee @@ -7,6 +7,7 @@ class @Subscription @subscribe_button.unbind('click').click(@toggleSubscription) toggleSubscription: (event) => + console.log 'toggleSubscription' btn = $(event.currentTarget) action = btn.find('span').text() current_status = @subscription_status.attr('data-status') diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index 46a7f325441..fe6bb77fdcc 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -150,3 +150,4 @@ new MilestoneSelect(); new LabelsSelect(); new IssuableContext(); + new Subscription('.subscription')
\ No newline at end of file |