BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
43a8e3a6
Commit
43a8e3a6
authored
Mar 19, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix subscription button by hooking it back up.
parent
6f48cb86
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
subscription.js.coffee
app/assets/javascripts/subscription.js.coffee
+1
-0
_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+2
-0
No files found.
app/assets/javascripts/subscription.js.coffee
View file @
43a8e3a6
...
...
@@ -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'
)
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
43a8e3a6
...
...
@@ -150,3 +150,4 @@
new
MilestoneSelect
();
new
LabelsSelect
();
new
IssuableContext
();
new
Subscription
(
'.subscription'
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment