Commit 27b80bc8 by Arjun Singh

Merge branch 'feature/arjun/new-discussions' of github.com:MITx/mitx into…

Merge branch 'feature/arjun/new-discussions' of github.com:MITx/mitx into feature/arjun/new-discussions
parents edf02dd9 a570b603
...@@ -18,11 +18,12 @@ if Backbone? ...@@ -18,11 +18,12 @@ if Backbone?
@current_page < @pages @current_page < @pages
addThread: (thread, options) -> addThread: (thread, options) ->
# TODO: Check for existing thread with same ID? # TODO: Check for existing thread with same ID in a faster way
options ||= {} if not @find(thread.id)
model = new Thread thread options ||= {}
@add model model = new Thread thread
model @add model
model
retrieveAnotherPage: (search_text="", commentable_ids="", sort_key="")-> retrieveAnotherPage: (search_text="", commentable_ids="", sort_key="")->
# TODO: I really feel that this belongs in DiscussionThreadListView # TODO: I really feel that this belongs in DiscussionThreadListView
......
...@@ -1039,7 +1039,7 @@ body.discussion { ...@@ -1039,7 +1039,7 @@ body.discussion {
} }
} }
.more a { .more-pages a {
background: #eee; background: #eee;
font-size: 12px; font-size: 12px;
line-height: 33px; line-height: 33px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment