Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
b6e62925
Commit
b6e62925
authored
8 years ago
by
gnaegi
Browse files
Options
Downloads
Patches
Plain Diff
non-jira: propagate cancel event in comments controller
parent
7a04abd1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/core/commons/services/commentAndRating/ui/UserCommentsAndRatingsController.java
+2
-0
2 additions, 0 deletions
...commentAndRating/ui/UserCommentsAndRatingsController.java
with
2 additions
and
0 deletions
src/main/java/org/olat/core/commons/services/commentAndRating/ui/UserCommentsAndRatingsController.java
+
2
−
0
View file @
b6e62925
...
@@ -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
);
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment