Commit 54f4a9de by Michael Roytman

remove is_ajax condition and JQUERY initialization from lms/cms devstack env files

Please enter the commit message for your changes. Lines starting
parent c565e262
......@@ -86,7 +86,6 @@ DEBUG_TOOLBAR_CONFIG = {
'debug_toolbar.panels.profiling.ProfilingPanel',
),
'SHOW_TOOLBAR_CALLBACK': 'cms.envs.devstack.should_show_debug_toolbar',
'JQUERY_URL': None,
}
......@@ -94,9 +93,6 @@ def should_show_debug_toolbar(request):
# We always want the toolbar on devstack unless running tests from another Docker container
if request.get_host().startswith('edx.devstack.studio:'):
return False
# Only display for non-ajax requests.
if request.is_ajax():
return False
return True
......
......@@ -83,7 +83,6 @@ DEBUG_TOOLBAR_PANELS = (
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': 'lms.envs.devstack.should_show_debug_toolbar',
'JQUERY_URL': None,
}
......@@ -91,9 +90,6 @@ def should_show_debug_toolbar(request):
# We always want the toolbar on devstack unless running tests from another Docker container
if request.get_host().startswith('edx.devstack.lms:'):
return False
# Only display for non-ajax requests.
if request.is_ajax():
return False
return True
########################### PIPELINE #################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment