8000 chore: Merging back 5.0.0a1 build by fsbraun · Pull Request #8169 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

chore: Merging back 5.0.0a1 build #8169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: race condition updating the frontend
  • Loading branch information
fsbraun committed Mar 2, 2025
commit 8624a549907f8dbc4c6194941aaa9b5da4c93ed7
2 changes: 1 addition & 1 deletion cms/static/cms/js/dist/5.0.0a1/bundle.toolbar.min.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions cms/static/cms/js/modules/cms.structureboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -1111,13 +1111,12 @@ class StructureBoard {
// Plugin data is updated through the data bridge - script elements can be removed
$(`script[data-cms-plugin]#cms-plugin-${id}`).remove();
});
this._contentChanged(data.messages);
this._updateSekizai(data, 'css');
if (!this._updateSekizai(data, 'js')) {
// No scripts need to be loaded - content update is done
StructureBoard._triggerRefreshEvents();
}

this._contentChanged(data.messages);
return false;
}

Expand Down
Loading
0