Issues with LD and Maverick's jquery

Bug #610092 reported by rww
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
Medium
Unassigned

Bug Description

Running LoCo Directory on a server with Maverick causes the date and time pickers on the page for creating a new event to stop working. One problem is that LD uses "/media/jquery-ui/css/css/smoothness/jquery-ui.css", which doesn't exist in Maverick's jquery packages (though "/media/jquery-ui/css/smoothness/jquery-ui.css" does and appears to be the right file). Even when that's fixed, only one of the pickers work. Firefox's error log reports:

Error: $.widget.prototype._trigger is undefined
Source File: http://127.0.0.1:8000/media/jquery-ui-timepicker/js/ui.timepickr.min.js
Line: 51

Everything works fine when running the server on Lucid, so this is likely due to a change between Lucid and Maverick's jquery versions.

Revision history for this message
Adnane Belmadiaf (daker) wrote :

try to grab ui-timepickr.js & all the dependencies from the svn
http://code.google.com/p/jquery-utils/source/browse/#svn/trunk/standalone/ui-timepickr/src
then see if it solve the problem.

Revision history for this message
Daniel Holbach (dholbach) wrote :

This should be fixed in ./teams/management/commands/init-ld.py

Changed in loco-directory:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Adnane Belmadiaf (daker) wrote :

Do we still have problem after the Maverick release ?

Adnane Belmadiaf (daker)
Changed in loco-directory:
status: Triaged → Fix Committed
milestone: none → 0.2.22
Revision history for this message
Ronnie (ronnie.vd.c) wrote :

I still got the error: "$.widget.prototype._trigger is undefined" in firebug on maverick

Changed in loco-directory:
status: Fix Committed → Confirmed
Revision history for this message
Ronnie (ronnie.vd.c) wrote :

I got jquery 1.4.2 and jquery-ui 1.8

Revision history for this message
Ronnie (ronnie.vd.c) wrote :

There is already a bug for this on the developer page of timepicker:
http://code.google.com/p/jquery-utils/issues/detail?id=53

The following proposed solution (grabbed "jquery.utils.js", "jquery.strings.js" and "ui.timepickr.js" from trunk in SVN.) did not work for me. The bug is from june 2010 and still not fixed, so i guess it wont be fixed in the near future

There are alternative timepickers
http://plugins.jquery.com/project/timepicker-addon
http://plugins.jquery.com/project/jquery-UIstyle-timepicker
http://plugins.jquery.com/project/timepicker

Maybe these will work with the newer version of jquery

Adnane Belmadiaf (daker)
Changed in loco-directory:
milestone: 0.2.22 → none
Revision history for this message
Adnane Belmadiaf (daker) wrote :

Since the actual dev environment is Precise, i'll mark this as fixed.

Changed in loco-team-portal:
milestone: none → 0.3.11
status: Confirmed → Fix Committed
Adnane Belmadiaf (daker)
Changed in loco-team-portal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.