[Proto-Scripty] Re: Disabling Scriptaculous autocomplete

2008-10-28 Thread Perryism
This is how I fixed it. open scriptaculous/controls.js adding a new property, disable, to the autocompleter and set it to false as default. this.disable = false; In onObserverEvent, replacing if(this.getToken().length=this.options.minChars) with

[Proto-Scripty] Re: Disabling Scriptaculous autocomplete

2008-09-11 Thread bluezehn
Since an autocompleter is just an object, then you can just store it in a variable. So when the checkbox is unchecked, you can just set the variable to null and when it's checked again call the code to recreate the checkbox over. This would be my basic approach but you'd have a few issues with