You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2017/10/23 15:54:12 UTC

[GitHub] jaylindquist commented on a change in pull request #3702: Add support for IE 11 for markup slices

jaylindquist commented on a change in pull request #3702: Add support for IE 11 for markup slices
URL: https://github.com/apache/incubator-superset/pull/3702#discussion_r146312438
 
 

 ##########
 File path: superset/assets/visualizations/markup.js
 ##########
 @@ -23,9 +24,11 @@ function markupWidget(slice, payload) {
     <iframe id="${iframeId}"
       frameborder="0"
       height="${slice.height()}"
-      sandbox="allow-scripts">
+      sandbox="allow-same-origin allow-scripts allow-top-navigation allow-popups">
     </iframe>`);
-  $('#' + iframeId)[0].srcdoc = html;
+
+  const iframe = $('#' + iframeId)[0];
 
 Review comment:
   jquery is now removed

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services