mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
Fix typo toogle/toggle
This commit is contained in:
parent
ba41b527c0
commit
62ec0a2b1e
2 changed files with 8 additions and 8 deletions
|
@ -30,7 +30,7 @@ var LSformElement_supannCompositeAttribute_field_value_component = new Class({
|
|||
'title': this.params.searchBtn,
|
||||
}
|
||||
);
|
||||
this.searchBtn.addEvent('click',this.toogleInputSearch.bind(this));
|
||||
this.searchBtn.addEvent('click',this.toggleInputSearch.bind(this));
|
||||
this.searchBtn.injectBefore(this.inputSearch);
|
||||
|
||||
this._lastSearch=null;
|
||||
|
@ -38,7 +38,7 @@ var LSformElement_supannCompositeAttribute_field_value_component = new Class({
|
|||
}
|
||||
},
|
||||
|
||||
toogleInputSearch: function() {
|
||||
toggleInputSearch: function() {
|
||||
if (this.inputSearch.getStyle('display')=='none') {
|
||||
this.inputSearch.setStyle('display','block');
|
||||
this.inputSearch.focus();
|
||||
|
@ -61,7 +61,7 @@ var LSformElement_supannCompositeAttribute_field_value_component = new Class({
|
|||
}
|
||||
|
||||
if (event.key=='esc') {
|
||||
this.toogleInputSearch();
|
||||
this.toggleInputSearch();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -157,7 +157,7 @@ var LSformElement_supannCompositeAttribute_field_value_component = new Class({
|
|||
}
|
||||
this.span.set('html',li.get('data-translated'));
|
||||
this.span.set('title',li.get('data-value'));
|
||||
this.toogleInputSearch();
|
||||
this.toggleInputSearch();
|
||||
},
|
||||
|
||||
clear: function() {
|
||||
|
|
|
@ -29,14 +29,14 @@ var LSformElement_supannLabeledValue_field_value = new Class({
|
|||
'title': this.params.searchBtn,
|
||||
}
|
||||
);
|
||||
this.searchBtn.addEvent('click',this.toogleInputSearch.bind(this));
|
||||
this.searchBtn.addEvent('click',this.toggleInputSearch.bind(this));
|
||||
this.searchBtn.injectAfter(this.span);
|
||||
|
||||
this._lastSearch=null;
|
||||
this._possibleValues=null;
|
||||
},
|
||||
|
||||
toogleInputSearch: function() {
|
||||
toggleInputSearch: function() {
|
||||
if (this.inputSearch.getStyle('display')=='none') {
|
||||
this.inputSearch.setStyle('display','block');
|
||||
this.inputSearch.focus();
|
||||
|
@ -59,7 +59,7 @@ var LSformElement_supannLabeledValue_field_value = new Class({
|
|||
}
|
||||
|
||||
if (event.key=='esc') {
|
||||
this.toogleInputSearch();
|
||||
this.toggleInputSearch();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -154,7 +154,7 @@ var LSformElement_supannLabeledValue_field_value = new Class({
|
|||
}
|
||||
this.span.set('html',li.get('data-translated'));
|
||||
this.span.set('title',li.get('data-value'));
|
||||
this.toogleInputSearch();
|
||||
this.toggleInputSearch();
|
||||
},
|
||||
|
||||
clear: function() {
|
||||
|
|
Loading…
Reference in a new issue