Merge pull request #2936 from FinnStutzenstein/MotionReason
Set resaon on save with CKEditor (fixes #2934)
This commit is contained in:
commit
f66e551eaa
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user