EPrints Technical Mailing List Archive
Message: #03784
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Workflow glitch? (3.3.10)
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Workflow glitch? (3.3.10)
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Date: Wed, 14 Jan 2015 15:31:30 +0000
Prototype?? Now I get the “Use JQuery!” comment from yesterday! From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of John Salter !!Caution!! EPrints uses Prototype (from before jQuery was around ;o). If I remove all the padding and borders from the td and sub-elements, I get a 2px difference… Cheers, John From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles I’ve got as far as the line in EPJS_toggleSlide that seems to be (part of) the issue, now I’m back from a meeting I’m heading into the JQuery getWidth() function
as it seems to be mis-reporting (by an extra 11 pixels in my instance) the width of the containing div… From: John Salter [mailto:J.Salter@leeds.ac.uk]
A few more pointers, but not a resolution: The ‘+’ help button has an ‘onclick’ of: EPJS_blur(event); EPJS_toggleSlide('c97_help_publisher',false,'block'); EPJS_toggle('c97_help_publisher_hide',false,'block'); EPJS_toggle('c97_help_publisher_show',true,'block'); return false The two EPJS_toggle’s swap the plus or minus buttons over, so it’s the EPJS_toggleSlide function that probably has something funny going on. Firstly: check 3.3.10 with 3.3.13 – to see if there’s been any bug fixes: https://github.com/eprints/eprints/blob/3.3/lib/static/_javascript_/auto/50_toggle.js
(last edited 2008 - nothing new there!). Secondly: How good are you with the _javascript_ debugger in e.g. Firebug? I’d add a breakpoint in auto-3.3.10.js, around line 11509 (in the function EPJS_toggleSlide_aux), and see what any of the width calculations are doing in there… If that means nothing to you, maybe an ‘EPrints techie afternoon’ on ‘debugging a GUI’ might be on the cards! Cheers, John From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles Chrome, Firefox and IE all show the same issue – IE is v8, Chrome and FF are mostly up to date versions. From: Andrew Beeken [mailto:anbeeken@lincoln.ac.uk]
What browser is it in? Have you tried it in anything else? From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles Hi All, Has anyone else got / noticed an issue in their workflow, when expanding the field help of an item within a Field::Multi component, the width of the title
section on the left is narrowed by maybe 10 pixels? It isn’t restored when hiding the help, so repeated toggling eventually causes the titles to wrap. Cheers, Alan Stiles Digital Repository Developer Library Services, The Open University alan.stiles@open.ac.uk | oro.open.ac.uk -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
|
- References:
- [EP-tech] Workflow glitch? (3.3.10)
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: Workflow glitch? (3.3.10)
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Workflow glitch? (3.3.10)
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: Workflow glitch? (3.3.10)
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Workflow glitch? (3.3.10)
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: Workflow glitch? (3.3.10)
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Workflow glitch? (3.3.10)
- Prev by Date: [EP-tech] Re: Workflow glitch? (3.3.10)
- Next by Date: [EP-tech] Re: Workflow glitch? (3.3.10)
- Previous by thread: [EP-tech] Re: Workflow glitch? (3.3.10)
- Next by thread: [EP-tech] Re: Workflow glitch? (3.3.10)
- Index(es):