zufolo441 commented on issue #36779:
URL: https://github.com/apache/superset/issues/36779#issuecomment-3678680342

   Hi, 
   editing 
   TALISMAN_CONFIG = {
       "content_security_policy": {
           "script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
   
   solves the specific problem because I have in Javascript tooltip generator 
this code:
   
   function updateTooltip(object) {
     return(
     object.object.extraProps.territorio + 
     '<br/>'+  
     '<br/>' + 
     'Anno:' + object.object.extraProps.anno + 
     '<br/>' +
     object.object.extraProps.indicatore + 
     '<br/>' + 
     object.object.extraProps.valore + 
     '<br/>'
     );
   }    
   for creating a better tooltip.
   If I remove this code, Superset works without the need of modifying 
TALISMAN_CONFIG.
   As far as you know is there a better solution?
   
   Thanks for very quick reply!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to