Broadcast event is triggering twice in a widget
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 05:36 AM
$rootScope.$on('XXX', function(event, data)
This part is running twice.
Please help me to stop running twice.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 01:27 AM
Hi @Prathyusha G
The broadcast happens twice because might the widget itself called twice for the function where it is calling running twice please check the script again.
Please Mark Correct if this solves your query and also mark Helpful if you find my response worthy based on the impact.