mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSformElement JS : fire change event on input field cleared
This commit is contained in:
parent
6c0324bcc4
commit
7eac609bd9
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ var LSformElement_field = new Class({
|
||||||
clearValue: function() {
|
clearValue: function() {
|
||||||
if ($type(this.getFormField())) {
|
if ($type(this.getFormField())) {
|
||||||
this.getFormField().value='';
|
this.getFormField().value='';
|
||||||
|
this.getFormField().fireEvent('change');
|
||||||
}
|
}
|
||||||
varLSform.clearFieldValue(this.field_name);
|
varLSform.clearFieldValue(this.field_name);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue