Set resaon on save with CKEditor (fixes #2934)

This commit is contained in:
FinnStutzenstein 2017-02-06 14:49:15 +01:00
parent 2e410599bb
commit bacadd6931

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