adds moderation to comments and debates [#136]
This commit is contained in:
3
app/views/moderation/comments/hide.js.erb
Normal file
3
app/views/moderation/comments/hide.js.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
var comment_id = '<%= dom_id(@comment) %>';
|
||||
App.ModeratorComments.add_class_faded(comment_id);
|
||||
App.ModeratorComments.hide_moderator_actions(comment_id);
|
||||
3
app/views/moderation/debates/hide.js.erb
Normal file
3
app/views/moderation/debates/hide.js.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
var debate_id = '<%= dom_id(@debate) %>';
|
||||
App.ModeratorDebates.add_class_faded(debate_id);
|
||||
App.ModeratorDebates.hide_moderator_actions(debate_id);
|
||||
Reference in New Issue
Block a user