Set resaon on save with CKEditor (fixes #2934)
This commit is contained in:
parent
2e410599bb
commit
bacadd6931
@ -1217,6 +1217,7 @@ angular.module('OpenSlidesApp.motions.site', [
|
|||||||
return motion.getTextWithLineBreaks($scope.version);
|
return motion.getTextWithLineBreaks($scope.version);
|
||||||
},
|
},
|
||||||
function (obj) {
|
function (obj) {
|
||||||
|
motion.reason = motion.getReason(-1);
|
||||||
motion.setTextStrippingLineBreaks(obj.editor.getData());
|
motion.setTextStrippingLineBreaks(obj.editor.getData());
|
||||||
motion.disable_versioning = (obj.trivialChange && Config.get('motions_allow_disable_versioning').value);
|
motion.disable_versioning = (obj.trivialChange && Config.get('motions_allow_disable_versioning').value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user