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:
@@ -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 #################################
|
||||
|
||||
Reference in New Issue
Block a user