8000 fix: `.load` jQuery method erroneously replaced by `.on('load')` by fsbraun · Pull Request #7679 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

fix: .load jQuery method erroneously replaced by .on('load') #7679

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 7 commits into from
Oct 24, 2023
Merged
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
Next Next commit
Fix: .load jQuery method erroneously replaced by on('load')
  • Loading branch information
fsbraun committed Oct 18, 2023
commit 1b67bda117971b70815d57280884b4610bd9c05d
2 changes: 1 addition & 1 deletion cms/static/cms/js/modules/cms.changeform.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $(function() {

// all permissions and page states loader
$('div.loading').each(function() {
$(this).on('load', $(this).attr('rel'));
$(this).load($(this).attr('rel'));
});

// hide rows when hidden input fields are added
Expand Down
0