2011/2/7 Ramiro Morales <[email protected]>

> Fabian,
>
> On Jan 28, 11:18 am, Fabian Büchler <[email protected]> wrote:
> > [...]
> > As an addition, I think it would make sense to integrate the jQuery UI
> > datepicker (maybe with a timepicker extension [1]) instead of the
> existing
> > one, because that might resolve some problems, as with the datepicker
> > opening outside of the viewport when the calendar icon is too far on the
> > right side of the screen.
> >
>
> While your jQuery UI dependency inclusion proposal is discussed I'd
> like to
> focus in the specific datepicker calendar outside of viewport problem
> you describe.
>
> We fixed a related problem regarding negative vertical positions in
> [1]r15143
> closing ticket #11414. You seem to be proficient in JavaScript and
> hopefully have
> a way to reproduce the issue so if you can identify the exact problem
> maybe we
> can fix it in the short term. Please feel free to open a ticket with
> your findings,
> bonus points for a patch fixing it :)
>

Hej Ramiro,

yesterday I've created a ticket #15231 [1] containing a patch that also
includes a fix for the horizontal out-of-viewport problem.
In the attached patch [2], have a look at line 324 of datetimeshortcuts.js

For now I have rewritten the whole DateTime widget things without jQuery UI
and I guess that will do for now.

Regards,
Fabian

[1] http://code.djangoproject.com/ticket/15231
[2]
http://code.djangoproject.com/attachment/ticket/15231/patch_admin_datetimeshortcuts.diff

Thanks for taking the time to help us with all those issues and
> enhancements.
>
> Regards,
>
> --
> Ramiro
>
> 1. http://code.djangoproject.com/changeset/15143
> 2. http://code.djangoproject.com/ticket/11414
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to