From 9b181280d44171cb0c724a07f50488eb08f98e72 Mon Sep 17 00:00:00 2001 From: Alanna Scott Date: Fri, 18 Nov 2016 16:22:46 -0800 Subject: [PATCH] include jQuery and bootstrap (#1642) --- superset/assets/javascripts/explorev2/index.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/superset/assets/javascripts/explorev2/index.jsx b/superset/assets/javascripts/explorev2/index.jsx index e30b41acf..9819e1830 100644 --- a/superset/assets/javascripts/explorev2/index.jsx +++ b/superset/assets/javascripts/explorev2/index.jsx @@ -5,6 +5,11 @@ import { createStore, applyMiddleware, compose } from 'redux'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; +// jquery and bootstrap required to make bootstrap dropdown menu's work +const $ = window.$ = require('jquery'); // eslint-disable-line +const jQuery = window.jQuery = require('jquery'); // eslint-disable-line +require('bootstrap'); + import { initialState } from './stores/store'; const exploreViewContainer = document.getElementById('js-explore-view-container');