This commit is contained in:
elclanrs 2013-11-14 16:30:27 -05:00
parent 233160c67d
commit e3a0a98678
3 changed files with 12 additions and 2 deletions

View file

@ -104,10 +104,15 @@ module.exports = {
// @extend // @extend
addFields: function(field) { addFields: function(field) {
if (field.after || field.before) return;
var $steps = this.$stepsContainer.find(this.opts.steps.step); var $steps = this.$stepsContainer.find(this.opts.steps.step);
if (! ('appendToStep' in field)) { if (! ('appendToStep' in field)) {
field.appendToStep = $steps.length-1; field.appendToStep = $steps.length-1;
} }
field.after = $steps field.after = $steps
.eq(field.appendToStep) .eq(field.appendToStep)
.find('input, select, textarea') .find('input, select, textarea')

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long