search for: foundpos

Displaying 3 results from an estimated 3 matches for "foundpos".

Did you mean: found_os
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
...;), /* start selector */ selector: function(instance) { var ret = []; // Beginning matches var entry = instance.getToken (); var firstMatch= -1; for (var i = 0; i < instance.options.array.length; i++) { var wasMatch = false; var elem = instance.options.array[i]; var foundPos = instance.options.ignoreCase ? elem.toLowerCase().indexOf(entry.toLowerCase()) : elem.indexOf(entry); while (foundPos != -1) { if (foundPos == 0 && elem.length != entry.length) { wasMatch = true; if (firstMatch < 0){ firstMatch=i; }...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...nce.options.array.length && - ret.length < instance.options.choices ; i++) { + for (var i = 0; i < instance.options.array.length && + ret.length < instance.options.choices ; i++) { var elem = instance.options.array[i]; - var foundPos = instance.options.ignoreCase ? - elem.toLowerCase().indexOf(entry.toLowerCase()) : + var foundPos = instance.options.ignoreCase ? + elem.toLowerCase().indexOf(entry.toLowerCase()) : elem.indexOf(entry); while (foundPos != -1) { -...
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