This commit is contained in:
elclanrs 2013-11-12 00:50:20 -05:00
parent 777f454efe
commit 165ab30edd
4 changed files with 10 additions and 12 deletions

View file

@ -234,8 +234,6 @@
} }
}); });
$('form.idealforms').find('input, select, textarea').on('change keyup', function() { $('form.idealforms').find('input, select, textarea').on('change keyup', function() {
$('#invalid').hide(); $('#invalid').hide();
}); });

View file

@ -104,10 +104,10 @@ module.exports = {
// @extend // @extend
addFields: function(field) { addFields: function(field) {
field.after = this.$stepsContainer var $steps = this.$stepsContainer.find(this.opts.steps.step);
.find(this.opts.steps.step) field.after = $steps
.eq(field.appendToStep) .eq(field.appendToStep || $steps.length-1)
.find('input, textarea, select') .find('input, select, textarea')
.last()[0].name; .last()[0].name;
}, },

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long