Skip to content
Snippets Groups Projects
Commit b6e62925 authored by gnaegi's avatar gnaegi
Browse files

non-jira: propagate cancel event in comments controller

parent 7a04abd1
No related branches found
No related tags found
No related merge requests found
...@@ -275,6 +275,8 @@ public class UserCommentsAndRatingsController extends BasicController implements ...@@ -275,6 +275,8 @@ public class UserCommentsAndRatingsController extends BasicController implements
// notify other user who also have this component // notify other user who also have this component
UserCommentsCountChangedEvent changedEvent = new UserCommentsCountChangedEvent(this, oresSubPath); UserCommentsCountChangedEvent changedEvent = new UserCommentsCountChangedEvent(this, oresSubPath);
CoordinatorManager.getInstance().getCoordinator().getEventBus().fireEventToListenersOf(changedEvent, USER_COMMENTS_AND_RATING_CHANNEL); CoordinatorManager.getInstance().getCoordinator().getEventBus().fireEventToListenersOf(changedEvent, USER_COMMENTS_AND_RATING_CHANNEL);
} else if (event == Event.CANCELLED_EVENT) {
fireEvent(ureq, event);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment