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() {
$('#invalid').hide();
});

View file

@ -104,10 +104,10 @@ module.exports = {
// @extend
addFields: function(field) {
field.after = this.$stepsContainer
.find(this.opts.steps.step)
.eq(field.appendToStep)
.find('input, textarea, select')
var $steps = this.$stepsContainer.find(this.opts.steps.step);
field.after = $steps
.eq(field.appendToStep || $steps.length-1)
.find('input, select, textarea')
.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