Skip to content
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

Fixed "Sys is not defined" and "debug get" JavaScript error on page load #5845

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

GerardSmit
Copy link
Contributor

@GerardSmit GerardSmit commented Oct 13, 2023

Fixes #5818
Fixes #5839

Summary

I'm not sure what caused this issue, maybe this is introduced in #5724.

The problem is that "dnn.jquery.js" was loaded before "ScriptResource.axd" that includes the WebForms classes (with Sys.WebForms.PageRequestManager). To resolve this issue the events are now being registered after the DOM has been loaded. In this case the classes are loaded.

Copy link
Contributor

@bdukes bdukes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bdukes bdukes added this to the 9.13.1 milestone Oct 13, 2023
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@valadas valadas merged commit 39c25b7 into dnnsoftware:develop Oct 13, 2023
2 of 3 checks passed
@valadas valadas changed the title Fixed JavaScript error Fixed "Sys is not defined" JavaScript error Nov 28, 2023
@valadas valadas changed the title Fixed "Sys is not defined" JavaScript error Fixed "Sys is not defined" and "debug get" JavaScript error on page load Nov 28, 2023
@david-poindexter
Copy link
Contributor

@GerardSmit thanks so much for resolving this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Im receiving error "Sys is not defined" [Bug]: Clean install of dnn913rc2 throws debugger errors
4 participants