Prevent duplication of tabs with different names.

This commit is contained in:
Diana Huang
2015-06-12 13:36:38 -04:00
parent 79a63bbe0f
commit a41d9a5491

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: