vendor/assets/javascripts/bootstrapValidator.js in bootstrap-validator-rails-0.5.0a vs vendor/assets/javascripts/bootstrapValidator.js in bootstrap-validator-rails-0.5.0

- old
+ new

@@ -426,13 +426,9 @@ _submit: function() { var isValid = this.isValid(), eventType = isValid ? 'success.form.bv' : 'error.form.bv', e = $.Event(eventType); - if (isValid && this.$form.data('remote') && $.rails !== undefined) { - return; - } - this.$form.trigger(e); // Call default handler // Check if whether the submit button is clicked if (this.$submitButton) {