From bacadd6931d1908f2923112f9a174e78b0a71903 Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Mon, 6 Feb 2017 14:49:15 +0100 Subject: [PATCH] Set resaon on save with CKEditor (fixes #2934) --- openslides/motions/static/js/motions/site.js | 1 + 1 file changed, 1 insertion(+) diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js index 49f8b9dcc..61acf2481 100644 --- a/openslides/motions/static/js/motions/site.js +++ b/openslides/motions/static/js/motions/site.js @@ -1217,6 +1217,7 @@ angular.module('OpenSlidesApp.motions.site', [ return motion.getTextWithLineBreaks($scope.version); }, function (obj) { + motion.reason = motion.getReason(-1); motion.setTextStrippingLineBreaks(obj.editor.getData()); motion.disable_versioning = (obj.trivialChange && Config.get('motions_allow_disable_versioning').value); }