[ https://issues.apache.org/jira/browse/TAP5-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455756#comment-13455756 ]
Denis Stepanov commented on TAP5-2001: -------------------------------------- Yes! > Race condition while loading javascript file via ajax > ----------------------------------------------------- > > Key: TAP5-2001 > URL: https://issues.apache.org/jira/browse/TAP5-2001 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.3.5 > Reporter: Denis Stepanov > > Two or more concurrent AJAX requests requires 'example.js' javascript to load: > First request: > Adds script tag with src 'example.js' ... waits script to load > Second request: > Finds script 'example.js', thinks its already loaded and continues to > process request -> causes error because script is not loaded yet > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira