Skip to content

Commit

Permalink
[markup] Enable allow-forms (apache#5062)
Browse files Browse the repository at this point in the history
(cherry picked from commit d322e48)
  • Loading branch information
john-bodley authored and John Bodley committed May 23, 2018
1 parent 82a9d25 commit 03c3918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion superset/assets/visualizations/markup.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function markupWidget(slice, payload) {
<iframe id="${iframeId}"
frameborder="0"
height="${iframeHeight}"
sandbox="allow-same-origin allow-scripts allow-top-navigation allow-popups">
sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation">
</iframe>
`);

Expand Down
6 changes: 3 additions & 3 deletions tests/model_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
from __future__ import print_function
from __future__ import unicode_literals

import unittest

from sqlalchemy.engine.url import make_url

from superset import db
from superset.models.core import Database
from .base_tests import SupersetTestCase


class DatabaseModelTestCase(unittest.TestCase):
class DatabaseModelTestCase(SupersetTestCase):

def test_database_schema_presto(self):
sqlalchemy_uri = 'presto://presto.airbnb.io:8080/hive/default'
Expand Down

0 comments on commit 03c3918

Please sign in to comment.