mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSform/js : Fixed bug in LSerrors reporting.
This commit is contained in:
parent
e3ca766682
commit
e60ba7ee61
1 changed files with 4 additions and 2 deletions
|
@ -244,8 +244,10 @@ var LSform = new Class({
|
|||
dd.injectAfter(this.getParent());
|
||||
},ul);
|
||||
|
||||
var dt = ul.getParent().getPrevious('dt');
|
||||
dt.addClass('LSform-errors');
|
||||
var dt = ul.getParent('dd.LSform').getPrevious('dt');
|
||||
if ($type(dt)) {
|
||||
dt.addClass('LSform-errors');
|
||||
}
|
||||
|
||||
var layout = ul.getParent('div.LSform_layout_active');
|
||||
if ($type(layout)) {
|
||||
|
|
Loading…
Reference in a new issue