app/assets/javascripts/locomotive/views/shared/form_view.js.coffee in locomotivecms-3.0.0.rc4 vs app/assets/javascripts/locomotive/views/shared/form_view.js.coffee in locomotivecms-3.0.0.rc5
- old
+ new
@@ -42,13 +42,13 @@
if $('form .nav-tabs li.active a').size() > 0
tab_name = $('form .nav-tabs li.active a').attr('href').replace('#', '')
@$('#active_tab').val(tab_name)
change_state: ->
- @$('form button[type=submit]').button('loading')
+ @$('form button[type=submit], form input[type=submit]').button('loading')
reset_state: ->
- @$('form button[type=submit]').button('reset')
+ @$('form button[type=submit], form input[type=submit]').button('reset')
save: (event) ->
@change_state()
@record_active_tab()