I'm a little unclear on part of that... does this not work only on
certain pages?  If it doesn't work at all anywhere, I'm not sure where
you got the HTML for a working page.

Are you sure that all of those URLs resolve to the right JS files?  If
you go to the page which messes up, and view the source, I'd go
through the links one at a time and try to find out which one of them
may not work.  It sounds like one of those is messing up.

Can you verify whether or not all of those links *for sure* work,
right there in the browser?

Tim

On Nov 24, 6:56 pm, Todd Blanchard <[email protected]> wrote:
> I'm trying to use the date/time entry widgets from admin and I get this 
> javascript error and the controls don't render.
>
> Where is this supposed to come from?
>
> In annoyance, I have copied the head section precisely from an admin page 
> that work.  Still doesn't work in my page.
>
>     <link rel="stylesheet" type="text/css" href="/media/css/base.css" />
>     <link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
>     <!--[if lte IE 7]><link rel="stylesheet" type="text/css" 
> href="/media/css/ie.css" /><![endif]-->
>
>     <script type="text/javascript" src="../../../jsi18n/"></script>
>     <link href="/static/olwidget/css/olwidget.css" type="text/css" 
> media="all" rel="stylesheet" />
>     <script type="text/javascript" src="/media/js/core.js"></script>
>     <script type="text/javascript" 
> src="/media/js/admin/RelatedObjectLookups.js"></script>
>     <script type="text/javascript" 
> src="/media/js/getElementsBySelector.js"></script>
>     <script type="text/javascript" src="/media/js/actions.js"></script>
>     <script type="text/javascript" src="/media/js/calendar.js"></script>
>     <script type="text/javascript" 
> src="/media/js/admin/DateTimeShortcuts.js"></script>
>     <script type="text/javascript" 
> src="http://openlayers.org/api/2.8/OpenLayers.js";></script>
>     <script type="text/javascript" 
> src="/static/olwidget/js/olwidget.js"></script>
>     <script type="text/javascript" 
> src="http://openstreetmap.org/openlayers/OpenStreetMap.js";></script>

--

You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.


Reply via email to