Files
nairobi/app/views/moderation/proposal_notifications/hide.js.erb
iagirre 12ccf466f9 Add the index to moderate the notifications
Add the index for moderating the notifications. The tranlations needed
have also been added, along with the JS to make it disappear at that moment.
2018-07-02 18:18:01 +02:00

4 lines
235 B
Plaintext

var proposal_notification_id = '<%= dom_id(@proposal_notification) %>';
App.ModeratorProposalNotifications.add_class_faded(proposal_notification_id);
App.ModeratorProposalNotifications.hide_moderator_actions(proposal_notification_id);