lib/assets/javascripts/unpoly/form.js.coffee in unpoly-rails-0.24.1 vs lib/assets/javascripts/unpoly/form.js.coffee in unpoly-rails-0.25.0

- old
+ new

@@ -321,11 +321,10 @@ @stable ### autosubmit = (selectorOrElement, options) -> observe(selectorOrElement, options, (value, $field) -> $form = $field.closest('form') - $field.addClass('up-active') - submit($form).always -> $field.removeClass('up-active') + up.navigation.withActiveMark $field, -> submit($form) ) resolveValidateTarget = ($field, options) -> target = u.option(options.target, $field.attr('up-validate')) if u.isBlank(target)