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
47eee238
Commit
47eee238
authored
Nov 16, 2016
by
alisan617
Committed by
GitHub
Nov 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13999 from edx/alisan/fix-pr-13843-separate-discussion-tab-ui-view
Fix the Discussion Editing Post error
parents
042244c3
cb14d159
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lms/djangoapps/discussion/static/discussion/js/discussion_router.js
+2
-3
No files found.
lms/djangoapps/discussion/static/discussion/js/discussion_router.js
View file @
47eee238
...
@@ -6,10 +6,9 @@
...
@@ -6,10 +6,9 @@
'underscore'
,
'underscore'
,
'backbone'
,
'backbone'
,
'common/js/discussion/utils'
,
'common/js/discussion/utils'
,
'common/js/discussion/models/discussion_course_settings'
,
'common/js/discussion/views/discussion_thread_view'
'common/js/discussion/views/discussion_thread_view'
],
],
function
(
_
,
Backbone
,
DiscussionUtil
,
Discussion
CourseSettings
,
Discussion
ThreadView
)
{
function
(
_
,
Backbone
,
DiscussionUtil
,
DiscussionThreadView
)
{
var
DiscussionRouter
=
Backbone
.
Router
.
extend
({
var
DiscussionRouter
=
Backbone
.
Router
.
extend
({
routes
:
{
routes
:
{
''
:
'allThreads'
,
''
:
'allThreads'
,
...
@@ -21,7 +20,7 @@
...
@@ -21,7 +20,7 @@
_
.
bindAll
(
this
,
'allThreads'
,
'showThread'
);
_
.
bindAll
(
this
,
'allThreads'
,
'showThread'
);
this
.
courseId
=
options
.
courseId
;
this
.
courseId
=
options
.
courseId
;
this
.
discussion
=
options
.
discussion
;
this
.
discussion
=
options
.
discussion
;
this
.
course_settings
=
new
DiscussionCourseSettings
(
options
.
course_settings
)
;
this
.
course_settings
=
options
.
courseSettings
;
this
.
discussionBoardView
=
options
.
discussionBoardView
;
this
.
discussionBoardView
=
options
.
discussionBoardView
;
this
.
newPostView
=
options
.
newPostView
;
this
.
newPostView
=
options
.
newPostView
;
},
},
...
...
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