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

Move HeadController from <head> to <html> #2288

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

zackgalbreath
Copy link
Contributor

We received a report of some CDash instances failing to load index.php properly. The error in the web console was:

TypeError: $rootScope.queryString is undefined

After further investigation, we discovered that the <head> element did not contain the ng-controller="HeadController" attribute. We are not sure what caused this behavior, and why it only occurs on some CDash instances and not others, but moving the controller to the top-level <html> element seems to fix the problem.

We received a report of some CDash instances failing to load index.php
properly. The error in the web console was:

  TypeError: $rootScope.queryString is undefined

After further investigation, we discovered that the `<head>` element
did not contain the `ng-controller="HeadController"` attribute.
We are not sure what caused this behavior, and why it only occurs on
some CDash instances and not others, but moving the controller to the
top-level `<html>` element seems to fix the problem.
Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me.

@williamjallen williamjallen added this pull request to the merge queue Jun 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 28, 2024
@williamjallen williamjallen added this pull request to the merge queue Jun 28, 2024
Merged via the queue into master with commit 6fbdb30 Jun 28, 2024
6 checks passed
@williamjallen williamjallen deleted the move_head_controller_to_html_element branch June 28, 2024 17:30
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.

2 participants