EPrints Technical Mailing List Archive

Message: #02182


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Auto complete not working on file based autocomplete with a compound field

  • To: "EPrints.org Technical List" <eprints-tech@ecs.soton.ac.uk>
  • Subject: [EP-tech] Re: Auto complete not working on file based autocomplete with a compound field
  • From: Dennis - UT <dv.eprints@gmail.com>
  • Date: Fri, 30 Aug 2013 08:24:49 +0200

I found the solution:

In 70_autocomplete.js, you need to replace:
Position.clone( ...

With:
Element.clonePosition(...

Position is deprecated in Prototype. Somehow these 2 behave differently now.

Dennis

On Thu, Aug 22, 2013 at 10:12 AM, Dennis - UT <dv.eprints@gmail.com> wrote:
> Yep, it pops up at the top of the page. A bit of trying different
> scroll positions shows that it probably shows up with the relative
> distance between the control and the top of the window added to the
> start of the page instead of the top of the window.
>
> Dennis
>
> On Wed, Aug 21, 2013 at 3:15 PM, Sebastien Francois <sf2@ecs.soton.ac.uk> wrote:
>> Hi Dennis,
>>
>> I did notice a few auto-completion glitches after upgrading the
>> Prototype JS library (used by EPrints) in 3.3.12...
>>
>> When you trigger the auto-completion on your form, could you scroll
>> up/down on the entire page (without clicking on it...) to see if the
>> auto-completion pops up somewhere else on the page? I know this sounds a
>> bit odd but I have a feeling the calculation of the position broke somehow.
>>
>> Thanks,
>> Seb
>>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/