You are here: Foswiki>Tasks Web>Item9541 (27 Aug 2010, ArthurClemens)Edit Attach

Item9541: jQuery Datepicker does not work

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: ArthurClemens
Several issues:

JQUeryUI.txt puts the code inside literal. The literal tag is on its own line, creating an empty line, resulting in a <p /> inside the html head, unintentionally disabling the javascript. Easily fixed, but also too easy to get wrong again.

The init code calls $this.metadata() but metadata is not loaded. Needs dependency in UI.pm.

The color picker appears below the input fields (pattern skin). I am hesitating to set the z-index to an arbitrary high value, as other interface elements might also want that index position. So no fix yet. A z-index of 1 seems to work.

-- ArthurClemens - 24 Aug 2010

Same problem as reported in Item9539. There's an explicit z-index:1 on #patternOuter that will conflict with any such widget. Removing it from pattern fixes the problem. Not sure why there is a z-index:1.

-- MichaelDaum - 25 Aug 2010

I have removed the z-index code. It was in the code I used and I never dared to remove any lines. I have now removed it and tested across all major browsers.

-- ArthurClemens - 26 Aug 2010

Means we can remove $("#ui-datepicker-div").css('z-index', 1); again System.JQueryUI

-- MichaelDaum - 27 Aug 2010

Ah, I thought you did.

-- ArthurClemens - 27 Aug 2010
 

ItemTemplate edit

Summary jQuery Datepicker does not work
ReportedBy ArthurClemens
Codebase trunk
SVN Range
AppliesTo Extension
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:d19af09a6b64 distro:ec46fe8ec4db distro:51b96c8c5208
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r8 - 27 Aug 2010, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy