Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1533

Common Container doesn't properly initialize globals when dynamically loaded

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0-beta1
    • 2.5.0-beta1
    • Javascript

    Description

      The container feature's init.js#initializeGlobalVars() function fails to properly initialize the global variables when the container.js is being dynamically loaded into a page.

      The code as it exists today assumes that the <script> tag loading the container.js will be the last one encountered for the document. This is not always the case, especially when loading the container.js by dynamically inserting the <script> tag in the page.

      Code changes and more information: http://codereview.appspot.com/4439090/

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssievers Stanton Sievers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified