mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
LSformElement_select : Fixed clear button action in recent browser.
This commit is contained in:
parent
b6d984f6c5
commit
e3ee3911f2
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ var LSformElement_select = new Class({
|
||||||
},
|
},
|
||||||
|
|
||||||
resetSelect: function(select) {
|
resetSelect: function(select) {
|
||||||
|
if ($type(select)!='select') {
|
||||||
|
select=select.getParent('select');
|
||||||
|
}
|
||||||
select.selectedIndex=-1;
|
select.selectedIndex=-1;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue