Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christopher 28 posts 173 karma points
    Jun 25, 2014 @ 16:44
    Christopher
    0

    Load resources over protocol relative URIs

    Inside of the GMaps.controller.js file, instead of using:

    assetsService.loadJs('http://www.google.com/jsapi')
       
    .then(function () {

    Consider using:

    assetsService.loadJs('//www.google.com/jsapi')
       
    .then(function () {

    The use of a protocol relative URI will stop any errors/blocked loading of the script when running the site under HTTPS.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 25, 2014 @ 16:57
    Dirk De Grave
    0

    Again, added to GitHub. #H5YR

     

    --Dirk

  • Richard Thompson 100 posts 336 karma points
    Feb 20, 2016 @ 12:07
    Richard Thompson
    0

    We've just come across this problem. Will there be a 0.5 version with this fix or a note pointing people to get the package from Nuget instead?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies