fix #17
This commit is contained in:
parent
233160c67d
commit
e3a0a98678
3 changed files with 12 additions and 2 deletions
|
@ -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
2
js/out/jquery.idealforms.min.js
vendored
2
js/out/jquery.idealforms.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue