Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
7d1b577b
Commit
7d1b577b
authored
Aug 03, 2012
by
Rocky Duan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show discussion & reply fix
parent
2077729d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/django_comment_client/forum/views.py
+1
-1
lms/static/coffee/src/discussion/content.coffee
+1
-1
No files found.
lms/djangoapps/django_comment_client/forum/views.py
View file @
7d1b577b
...
@@ -94,7 +94,7 @@ def inline_discussion(request, course_id, discussion_id):
...
@@ -94,7 +94,7 @@ def inline_discussion(request, course_id, discussion_id):
threads
,
query_params
=
get_threads
(
request
,
course_id
,
discussion_id
)
threads
,
query_params
=
get_threads
(
request
,
course_id
,
discussion_id
)
html
=
render_inline_discussion
(
request
,
course_id
,
threads
,
discussion_id
=
discussion_id
,
\
html
=
render_inline_discussion
(
request
,
course_id
,
threads
,
discussion_id
=
discussion_id
,
\
query_params
=
query_params
)
query_params
=
query_params
)
return
HtmlResponse
(
html
)
return
utils
.
HtmlResponse
(
html
)
def
render_search_bar
(
request
,
course_id
,
discussion_id
=
None
,
text
=
''
):
def
render_search_bar
(
request
,
course_id
,
discussion_id
=
None
,
text
=
''
):
if
not
discussion_id
:
if
not
discussion_id
:
...
...
lms/static/coffee/src/discussion/content.coffee
View file @
7d1b577b
...
@@ -25,9 +25,9 @@ Discussion = @Discussion
...
@@ -25,9 +25,9 @@ Discussion = @Discussion
}
}
$discussionContent
.
append
Mustache
.
render
Discussion
.
replyTemplate
,
view
$discussionContent
.
append
Mustache
.
render
Discussion
.
replyTemplate
,
view
Discussion
.
makeWmdEditor
$content
,
$local
,
"reply-body"
Discussion
.
makeWmdEditor
$content
,
$local
,
"reply-body"
$local
(
".discussion-reply"
).
hide
()
$local
(
".discussion-submit-post"
).
click
->
handleSubmitReply
(
this
)
$local
(
".discussion-submit-post"
).
click
->
handleSubmitReply
(
this
)
$local
(
".discussion-cancel-post"
).
click
->
handleCancelReply
(
this
)
$local
(
".discussion-cancel-post"
).
click
->
handleCancelReply
(
this
)
$local
(
".discussion-reply"
).
hide
()
handleCancelReply
=
(
elem
)
->
handleCancelReply
=
(
elem
)
->
$replyView
=
$local
(
".discussion-reply-new"
)
$replyView
=
$local
(
".discussion-reply-new"
)
...
...
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