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
629a8e7e
Commit
629a8e7e
authored
Sep 03, 2012
by
Arjun Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allowing for 0 top level topics
parent
098b90eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
lms/djangoapps/django_comment_client/utils.py
+1
-1
lms/static/coffee/src/discussion/views/new_post_view.coffee
+0
-1
No files found.
lms/djangoapps/django_comment_client/utils.py
View file @
629a8e7e
...
...
@@ -120,7 +120,7 @@ def initialize_discussion_info(course):
node
[
level
][
"entries"
][
entry
[
"title"
]]
=
{
"id"
:
entry
[
"id"
],
"sort_key"
:
entry
[
"sort_key"
]}
for
topic
,
entry
in
course
.
metadata
[
'discussion_topics'
]
.
items
():
for
topic
,
entry
in
course
.
metadata
.
get
(
'discussion_topics'
,
{})
.
items
():
category_map
[
'entries'
][
topic
]
=
{
"id"
:
entry
[
"id"
],
"sort_key"
:
entry
.
get
(
"sort_key"
,
topic
)}
...
...
lms/static/coffee/src/discussion/views/new_post_view.coffee
View file @
629a8e7e
...
...
@@ -42,7 +42,6 @@ class @NewPostView extends Backbone.View
# change and 2) can't set in initialize because the button is hidden
@
maxNameWidth
=
@
dropdownButton
.
width
()
*
0.9
# Need a fat arrow because hideTopicDropdown is passed as a callback to bind
hideTopicDropdown
:
()
=>
@
menuOpen
=
false
...
...
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