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
c1cf4e78
Commit
c1cf4e78
authored
Dec 15, 2016
by
Brian Jacobel
Committed by
GitHub
Dec 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14155 from edx/bjacobel/inline-discussion-redesign
Fix bug on new post creation
parents
fd9c26b1
0e5f6c2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
common/static/common/js/discussion/views/discussion_inline_view.js
+5
-3
No files found.
common/static/common/js/discussion/views/discussion_inline_view.js
View file @
c1cf4e78
...
@@ -156,9 +156,11 @@
...
@@ -156,9 +156,11 @@
this
.
$
(
'.inline-thread'
).
addClass
(
'is-hidden'
);
this
.
$
(
'.inline-thread'
).
addClass
(
'is-hidden'
);
// Delete the thread view
// Delete the thread view
this
.
threadView
.
$el
.
empty
().
off
();
if
(
this
.
threadView
)
{
this
.
threadView
.
stopListening
();
this
.
threadView
.
$el
.
empty
().
off
();
this
.
threadView
=
null
;
this
.
threadView
.
stopListening
();
this
.
threadView
=
null
;
}
// Show the thread list view
// Show the thread list view
this
.
threadListView
.
$el
.
removeClass
(
'is-hidden'
);
this
.
threadListView
.
$el
.
removeClass
(
'is-hidden'
);
...
...
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