mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +01:00
LSformElement.js : do not handle sub li elements on removing one field
This commit is contained in:
parent
4715aba0f1
commit
ccd932d5c0
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ var LSformElement = new Class({
|
|||
},
|
||||
|
||||
onRemoveFieldBtnClick: function(field) {
|
||||
if (this.ul.getElements('li').length == 1) {
|
||||
if (this.ul.getChildren('li').length == 1) {
|
||||
field.clearValue.bind(field)();
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue