New Feature: Staff can choose to "Take Action" when flagging to immediately reach hiding
thresholds.
This commit is contained in:
@@ -8,6 +8,16 @@
|
||||
**/
|
||||
Discourse.ModalController = Discourse.Controller.extend({
|
||||
|
||||
/**
|
||||
Close the modal.
|
||||
|
||||
@method closeModal
|
||||
**/
|
||||
closeModal: function() {
|
||||
// Currently uses jQuery to hide it.
|
||||
$('#discourse-modal').modal('hide');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user