EPrints Technical Mailing List Archive

Message: #03783


< 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)


!!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
Sent: 14 January 2015 14:56
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Workflow glitch? (3.3.10)

 

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]
Sent: 14 January 2015 14:11
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Workflow glitch? (3.3.10)

 

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
Sent: 14 January 2015 13:24
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Workflow glitch? (3.3.10)

 

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]
Sent: 14 January 2015 13:09
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Workflow glitch? (3.3.10)

 

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
Sent: 14 January 2015 11:58
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Workflow glitch? (3.3.10)

 

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.


The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.


The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.