app/assets/javascripts/spina/admin/account.js.coffee in spina-0.6.28 vs app/assets/javascripts/spina/admin/account.js.coffee in spina-0.6.29
- old
+ new
@@ -10,6 +10,7 @@
show_layout_parts(layout_parts)
show_layout_parts = (layout_parts) ->
$('tr.layout-part').hide()
for layout_part in layout_parts
- $('tr.layout-part[data-name=' + layout_part + ']').show()
+ if layout_part
+ $('tr.layout-part[data-name=' + layout_part + ']').show()