Revision f2141829 ui/static/invitations.js
b/ui/static/invitations.js | ||
---|---|---|
84 | 84 |
var pos = new Number(i+1); |
85 | 85 |
var d = $(elem) |
86 | 86 |
.attr("id",settings.cloneContainerId + "-" + pos); |
87 |
|
|
87 |
|
|
88 | 88 |
d.children("label") |
89 | 89 |
.attr("for",settings.baseName + pos) |
90 | 90 |
.html((pos > 1) ? "" : settings.labelText); |
91 | 91 |
|
92 |
d.children("input") |
|
93 |
.attr({ |
|
94 |
"id":settings.baseName + pos, |
|
95 |
"name":settings.baseName + pos |
|
96 |
}); |
|
92 |
names = settings.baseNames; |
|
93 |
d.children("input").each(function(i){ |
|
94 |
$(this).attr({ |
|
95 |
"id": names[i] + pos, |
|
96 |
"name": names[i] + pos |
|
97 |
}); |
|
98 |
}); |
|
97 | 99 |
}); |
98 | 100 |
|
99 | 101 |
addRemoveBtnCk(); |
Also available in: Unified diff