diff --git a/openslides/agenda/static/js/agenda/site.js b/openslides/agenda/static/js/agenda/site.js index cc3162b90..3f898bfb3 100644 --- a/openslides/agenda/static/js/agenda/site.js +++ b/openslides/agenda/static/js/agenda/site.js @@ -156,6 +156,14 @@ angular.module('OpenSlidesApp.agenda.site', [ } }; + $scope.getUpdateStatePrefix = function (item) { + var prefix = item.content_object.collection.replace('/','.'); + // Hotfix for Issue 2566. + // The changes could be reverted if Issue 2480 is closed. + prefix = prefix.replace('motion-block', 'motionBlock'); + return prefix; + }; + // pagination $scope.currentPage = 1; $scope.itemsPerPage = 100; diff --git a/openslides/agenda/static/templates/agenda/item-list.html b/openslides/agenda/static/templates/agenda/item-list.html index e6d61586d..5404f5991 100644 --- a/openslides/agenda/static/templates/agenda/item-list.html +++ b/openslides/agenda/static/templates/agenda/item-list.html @@ -220,7 +220,7 @@