#31 JS error when adding Youtube repository

open
nobody
5
2012-09-24
2012-07-25
No

If YouTube search is activated, there is a JS error reported for exaple by Firebug:

SyntaxError: missing ] after element list
...ite'},{uuid: 'arcgis.com',name: 'ArcGIS.com'}{uuid: 'YouTube',name: 'YouTube'}]
search.page (linea 2337, col 146)

(see also file attached).

Discussion

  • Gianni Campanile

    Firebug reporting on js error

     
    Attachments
  • Gianni Campanile

    • summary: JS error when adding Youtube respository --> JS error when adding Youtube repository
     
  • Gianni Campanile

    The error is caused by the "universal" (i.e key="*") repository not being the last repository on the list. If YouTube repository is left afetr the "*" one (as in the gpt.xml default file), then in the list of federated repositories the "This Site" is overwritten and YouTube does not appear.
    Solution: "*" must be the last repository.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks