Merge pull request #8506 from edx/diana/fix-tab-duplication

Prevent duplication of tabs with different names.
This commit is contained in:
Adam
2015-06-12 16:16:35 -04:00

View File

@@ -999,7 +999,6 @@ def _refresh_course_tabs(request, course_module):
"""
tab_panel = {
"type": tab_type.name,
"name": tab_type.title,
}
has_tab = tab_panel in tabs
if tab_enabled and not has_tab: