You need to sign in to do that
Don't have an account?
Bruno Di Bello 10
Refused to connect to '...' because it violates the following Content Security Policy directive: "connect-src 'self'
I was having that problem by using a js from a static resource. I called the script like this:
<ltng:require scripts="{'resource/AdapterSR/adapter-master/src/js/adapter_core.js'}"
afterScriptsLoaded="{!c.doInit}"/>
I dont know what is happening. If its because of the lockerservice or what.
<ltng:require scripts="{'resource/AdapterSR/adapter-master/src/js/adapter_core.js'}"
afterScriptsLoaded="{!c.doInit}"/>
I dont know what is happening. If its because of the lockerservice or what.
Rowan Christmas
Most assuredly a Locker Service problem. I have needed to fork nearly every 3rd party library due to obscure Locker Service issues. Unfortunately Salesforce doesn't seem to be responding in a cooridnated manner to LockerService problems (or I'm posting in the wrong places? who knows... ), and since they removed the ability to catch errors via $A.logger, the only way to see what the problems are is watching the screen (I reccomend recording a video to watch in slow motion) as errors pop into the Aura error box.