From f4ac0dd30d8421779f6fe6eb46a7c93c87ee8b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Wed, 30 Aug 2017 19:23:52 +0200 Subject: [PATCH] Fixed inline editing of motion reason. --- openslides/motions/static/js/motions/site.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js index 010408702..5199f758c 100644 --- a/openslides/motions/static/js/motions/site.js +++ b/openslides/motions/static/js/motions/site.js @@ -1501,14 +1501,13 @@ 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); } ); $scope.reasonInlineEditing = MotionInlineEditing.createInstance($scope, motion, - 'reason-inline-editor', true, + 'reason-inline-editor', true, Editor.getOptions('inline'), function (obj) { return motion.getReason($scope.version); },