fix: clear buttons in advanced components editors in Libraries (#36752)

This commit is contained in:
Chris Chávez
2025-05-20 20:33:39 -05:00
committed by GitHub
parent 4b8bfe2307
commit 30ace04469
3 changed files with 11 additions and 5 deletions

View File

@@ -343,7 +343,7 @@
$('.save-button', passElement).bind('click', function() {
//event.preventDefault();
var error_message_div = $('.xblock-editor-error-message', passElement);
const modifiedData = editorView.getChangedMetadata();
const modifiedData = editorView.getChangedMetadata(true);
error_message_div.html();
error_message_div.css('display', 'none');