Hello,

I've created a simple app with quickstart and gave it a successful
test-run on my home Windows XP box. However, when I deployed on a
(Linux) server via FastCGI, all my Javascript ceased working, and
digging with FireBug brought up that MochiKit was not being included
correctly.

I looked at the source of the page, and found this line:
<script src="/tg_widgets/turbogears/js/MochiKit.js" type="text/
javascript"></script>

Which is probably inserted by TG automatically, because it's nowhere
to be found in my templates. However, as I look into the TG install
path in site-packages, I can't find this location. Rather, MochiKit.js
lives in "/static/js/MochiKit.js" under turbogears in the EGG file.

So I copied MochiKit.js into my own static directory and it started
working.

Is there some discrepancy here ? Has anyone else ran into this
problem ?

Thanks
Eli

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to