Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In Firefox (doesn't seem to affect Safari or Chrome), every time a portal page loads, the page gets loaded again, twice.
I tracked this down to this part of the web page
<!-- Jira Issue Collector - Request Feature --> <script type="text/javascript" src=""></script> <script type="text/javascript" src=""></script>
Apparently the empty src path is interpreted as meaning that the current URL should be loaded as a script.
Since the web page is loaded into a <script> tag, the browser tries to interpret it as JavaScript but fails, so I also see this in the console
09:04:27.443 SyntaxError: expected expression, got '<'1dashboard:1 09:04:27.891 SyntaxError: expected expression, got '<'1dashboard:1
For the most part this is harmless. But since it loads the whole page 3 times, it takes about 3 times as long to load each page. Also, some of the JavaScript only runs on the $(document).ready(..) event, and this code won't run until the page is loaded 3 times, during which time interactive portions of the page are unavailable.
I verified that this bug affects seagrid.org as well.
I'll post a screenshot of the network requests which will show the loading of the page three times as well as the console errors.
Attachments
Attachments
Issue Links
- is related to
-
AIRAVATA-2216 Sharing button doesn't work on Create Project when page hasn't finished loading
- Closed
- links to