diff --git a/openslides/agenda/static/js/agenda/base.js b/openslides/agenda/static/js/agenda/base.js index 87e7cf4cc..c5e5ee762 100644 --- a/openslides/agenda/static/js/agenda/base.js +++ b/openslides/agenda/static/js/agenda/base.js @@ -67,6 +67,9 @@ angular.module('OpenSlidesApp.agenda', ['OpenSlidesApp.users']) foreignKey: 'item_id', } } + }, + beforeInject: function (resource, instance) { + Speaker.ejectAll({where: {item_id: {'==': instance.id}}}); } }); }