Merge pull request #2936 from FinnStutzenstein/MotionReason

Set resaon on save with CKEditor (fixes #2934)
This commit is contained in:
Emanuel Schütze 2017-02-06 17:29:09 +01:00 committed by GitHub
commit f66e551eaa

View File

@ -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);
}