From 673ee1da18d995ec7e5e7cf5150353e55e731ed0 Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Tue, 27 Sep 2016 11:47:57 +0200 Subject: [PATCH] hotfix --- openslides/core/static/js/core/site.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openslides/core/static/js/core/site.js b/openslides/core/static/js/core/site.js index 9141da383..49b9276a7 100644 --- a/openslides/core/static/js/core/site.js +++ b/openslides/core/static/js/core/site.js @@ -484,6 +484,12 @@ angular.module('OpenSlidesApp.core.site', [ if (styles) { ComputeStyle(temporary, styles); } + // TODO: This if-clause is a hotfix for issue #2442. + // Do this right! Why is currentParagraph undefined? + if (!currentParagraph) { + currentParagraph = {}; + currentParagraph.text = []; + } currentParagraph.text.push(temporary); break; }