app/assets/javascripts/locomotive/views/content_entries/new_view.js.coffee in locomotivecms-4.0.0.rc0 vs app/assets/javascripts/locomotive/views/content_entries/new_view.js.coffee in locomotivecms-4.0.0
- old
+ new
@@ -2,9 +2,13 @@
class Locomotive.Views.ContentEntries.NewView extends Locomotive.Views.Shared.FormView
el: '.main'
+ initialize: ->
+ super()
+ $('#collapseContentTypes').addClass('in')
+
render: ->
super()
$('.tab-pane .has-error').each ->
$tab_pane_id = $(@).parents('.tab-pane').attr('id')