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

fix dialogs on iitc boot #716

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

McBen
Copy link
Contributor

@McBen McBen commented Mar 12, 2024

DIALOGS is not initialized
when "checkingIntelURL" or "extractFromStock" function fails and tries to open a dialog.

example:
error"can't access property "dialog-anon-0", window.DIALOGS is undefined" when not using "intel.ingress.com"

DIALOGS is not initialized
when "checkingIntelURL" or "extractFromStock" function fail
and tries to open a dialog.

example:
error"can't access property "dialog-anon-0", window.DIALOGS is undefined"
when not using "intel.ingress.com"
Copy link

🤖 Pull request artifacts

file commit
IITC_Mobile-test.apk eb8b7bc
test-0.38.0.20240312.074610.zip eb8b7bc

See build on website

@McBen
Copy link
Contributor Author

McBen commented Mar 12, 2024

to reproduce the problem: change the intel.ingress.com
in boot.js:98
if (window.location.hostname !== 'intel.ingress.com' && localStorage['pass-checking-intel-url'] !== 'true') {
to trigger the warning

@modos189 modos189 merged commit 823ca79 into IITC-CE:master Mar 13, 2024
3 checks passed
@McBen McBen deleted the fix-dialogs-on-boot branch August 31, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants