Displaying 3 results from an estimated 3 matches for "startindicator".
2005 Jul 09
7
Extending the AJAX autocompleter
...ional params to the Framework I am using which is
taking on the request.
For this, I have changed the onObserverEvent function in controls.js
as to the following:
onObserverEvent: function() {
this.changed = false;
if(this.element.value.length>=this.options.min_chars) {
this.startIndicator();
//here starts my change
if(this.options.parameters && this.options.parameters.length>0){
this.options.parameters += ''&'';
} else {
this.options.parameters = '''';
}
this.options.parameters += this.options.c...
2006 Jun 19
2
Autocompleter enhancement feature request
...ent.observe(this.element, "focus", this.onKeyPress.bindAsEventListener(this));
The last line is what I have added.
And then I have commented some code:
onObserverEvent: function() {
this.changed = false;
// if(this.getToken().length>=this.options.minChars) {
this.startIndicator();
this.getUpdatedChoices();
// } else {
// this.active = false;
// this.hide();
// }
},
These changes are not in the best tradition of programming, but I am a
javascript newbie and as a preliminary step I just wanted to get things
working.
The problem with these chan...
2006 Mar 13
0
Bug with Ajax.Autocompleter in Safari 2.0.3?
...9;ve got 2 fields:
text input 1
text input 2 with autocomplete
If you:
1. Enter some value in field 1
2. Enter a value in field 2
3. Allow the autocomplete to finish and select a value
4. Then shift-tab back to field one
then the observer event is set to run with the timeout which kicks
off the startIndicator().
It seems that this is because Safari sends a 0 for the shift-tab
keyCode, rather than a 9 which you would expect. I was able to fix it
in my local copy of controls.js by simply adding another check for
Safari and keyCode of 0 in addition to the existing checks for
KEY_TAB and KEY_RETURN...