Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18454

find-as-you-type always loads yui code from cdn

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.5.0
    • None

    Description

      The yiu 2-in-3 loader loads yui files from cdn even when the loading from cdn has been disabled in ezjscore.
      If access to the cdn is impossible, this results in a fatal error in file ezajax_autocomplete.js, fucntion initAutosuggest(). This in turns prevets other scripts on page from executing.

      Suggestions:

      1. add a try/catch block in initAutosuggest()

      2. see if direct loading of yui2 components is a better idea than using the 2in3 loader. NB: useful discussion about cdn and 2in3: http://yuilibrary.com/forum/viewtopic.php?p=15809

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: