Ticket #176 (closed defect: done)
script not loading into EI notebook
| Reported by: | jdalbey | Owned by: | jdalbey |
|---|---|---|---|
| Priority: | High | Milestone: | Sep 2019 Training |
| Component: | Electronic Instructor Notebook | Version: | |
| Severity: | Critical | Keywords: | |
| Cc: |
Description
For no apparent reason, the script is no longer loading properly in EI Notebook ON SOME MACHINES. It works on my home desktop, but not on my laptop or on the production system. The problem seems to be that cad.js is trying to execute before the script finishes being loaded and parsed. Not sure why this is only showing up now.
Change History
comment:2 Changed 7 years ago by jdalbey
It seems like a timing problem. For some reason loading the script is taking much longer than normal and other functions that expect it to be loaded are failing when the data isn't available. Maybe Google Maps for the Maps tab is slowing things down? The best solution is to re-design the entire app so it is sure to wait for the incident xml parsing to be completed before trying to load the tab content.
comment:3 Changed 7 years ago by jdalbey
- Status changed from new to closed
- Resolution set to done
Solved with a major redesign. Changed order in which page loading occurs so the json file load (async) completes before other page content is displayed. Simplified other aspects of page loading. Updated file naming to reflect current features (e.g., currentEvent instead of cad). Commited in r468.

I thought it might be a regression bug, but it's appearing in both v444 and v464.