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

Please enter the commit message for your changes. Lines starting
This commit is contained in:
Michael Roytman
2017-08-01 13:23:09 -04:00
parent c565e2624e
commit 54f4a9dee1
2 changed files with 0 additions and 8 deletions

View File

@@ -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

View File

@@ -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 #################################