Added extra JS to deterine which element to highlight in the case where all fieldsets of a stacked inline are set to collapse.

This commit is contained in:
Brandon Taylor
2015-11-18 09:20:45 -05:00
parent 2dab294b0c
commit 3757ca98c0
2 changed files with 13 additions and 1 deletions
+10
View File
@@ -14,6 +14,16 @@ admin.site.register(Category, SortableAdmin)
class ComponentInline(SortableStackedInline):
# fieldsets = (
# ('foo', {
# 'classes': ('collapse',),
# 'fields': ('title',)
# }),
# ('', {
# 'classes': ('collapse',),
# 'fields': ('widget',)
# }),
# )
model = Component
def queryset(self, request):