When you want to save a page after edit change, there is a field "What has you change?"
How can i enforce filling this field?
Hi @Devo,
There is an open ticket CONFSERVER-6373.
Here is a workaround.
It disables SAVE button until "What did you change" filled.
<script type="text/javascript">AJS.toInit(function() { var buttonID = 'rte-button-publish'; var textID = 'versionComment';if(AJS.$('#' + buttonID).length > 0 && AJS.$("#" + textID).length > 0) { //Disable save button AJS.$('#' + buttonID).prop('disabled', true); //If the text box changes and there is content re-enable the save button AJS.$("#" + textID).keyup(function() { if(AJS.$(this).val() !== '') { AJS.$('#' + buttonID).prop('disabled', false); } else { AJS.$('#' + buttonID).prop('disabled', true); } }); }});</script>
marked as answer. Thanks @Tansu Akdeniz
It looks like you're new here. Sign in or register to get started.