Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses-legacy
Commits
2750550c
Commit
2750550c
authored
4 years ago
by
Glaucia S. Santos
Browse files
Options
Download
Email Patches
Plain Diff
Fix message count of discussion
parent
2f1ae2b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
courses_legacy/static/js/activities/controllers.js
courses_legacy/static/js/activities/controllers.js
+1
-0
No files found.
courses_legacy/static/js/activities/controllers.js
View file @
2750550c
...
...
@@ -282,6 +282,7 @@
// Send the comment data to be saved by the API
comment
.
$save
().
then
(
function
(
comment
)
{
$scope
.
topic
.
count_replies
+=
1
;
angular
.
forEach
(
files
,
function
(
comment_file
)
{
comment_file
.
comment
=
comment
.
id
;
delete
comment_file
.
file
;
...
...
This diff is collapsed.
Click to expand it.
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