Displaying 4 results from an estimated 4 matches for "selectentry".
2005 Aug 23
0
[script.aculo.us][Patch] Autocompleter.selectEntry()
I made a small patch to controls.js. I moved the line
this.element.focus()
from the end of selectEntry() to the end of updateElement(). The
rationale is that if the user uses the options hash to override
updateElement, he/she can choose which element to focus next, instead
of being forced to the default. You can see an example on the wiki
page (still under construction)
http://wiki.rubyon...
2005 Aug 15
5
Customized Autocompletion
In the customized autocomplete demo, how does it know what content to
use as the value of the autocomplete?
The returned UL has the name, email address and an image. Yet only the
name is used.
How does it do this? I''ve been trying to get something similar going all
morning with little success.
Also, what does :skip_style=>true do? I couldn''t seem to find a mention
of it
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...ex != element.autocompleteIndex)
{
this.index = element.autocompleteIndex;
this.render();
}
Event.stop(event);
},
-
+
onClick: function(event) {
var element = Event.findElement(event, 'LI');
this.index = element.autocompleteIndex;
this.selectEntry();
this.hide();
},
-
+
onBlur: function(event) {
// needed to make click events working
setTimeout(this.hide.bind(this), 250);
this.hasFocus = false;
- this.active = false;
- },
-
+ this.active = false;
+ },
+
render: function() {
if(this.entryCou...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server