Some JS events on entities no longer triggered #18771
Labels
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Regression
Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone
On cloud in
javascripts/account.js
we are listening to some events when eg a site gets added and then check if the user is allowed to create another user or site.We just noticed in tests this may be broken / no longer working. Likely because of
vue.js
.We're doing in the code things like
Can we check if these events are still triggered? Eg I couldn't find any event named
UsersManager.initAddUser
in the code. And how would we listen to these events now assuming they aren't triggered on angular $rootScope anymore.They were triggered eg when clicking on the "add new user" button and then we would check if the user can create a new user and if not, show a popover explaining the issue that limit was reached.
cc @diosmosis
The text was updated successfully, but these errors were encountered: