Date Picker and JS error when upgrading to 6.x.

11 views
Skip to first unread message

Alvin

unread,
Feb 8, 2012, 5:40:50 AM2/8/12
to farcry-dev
I've inherited a project that we are upgrading from 5.0.1 to 6.0.1.5.
After upgrading the core to ver 6, I've encountered a JS problem with
the date picker in any of the Edit Content forms.
It occurs when editing any content type that has a date picker in it,
the JS fails causing serveral items to fail on the edit content form
including the Save and Cancel buttons. The JS error given is:

"Calendar is not defined" when calling Calendar.setup().
"Ext is not defined" when calling Ext.get().

It appears as if the external libraries that contain the Caledar
object are no longer included on the page. It looks as if these where
loaded in ver5 in core/tags/farcry/_farcryOnRequestEnd.cfm but no
longer in Ver6.

Can someone point me in the right direction on how to address this
problem?

Chris van der Poel

unread,
Feb 8, 2012, 5:52:06 AM2/8/12
to farcr...@googlegroups.com
Hi Alvin,
 
I think it has to do something with that version 6 has jquery as js library and 5 has extjs.
 
Chris 

2012/2/8 Alvin <alvin...@gmail.com>

--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcr...@googlegroups.com
To unsubscribe, email: farcry-dev+...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

AJ Mercer

unread,
Feb 8, 2012, 7:49:14 AM2/8/12
to farcr...@googlegroups.com

Have you updated all the plugins too
Eg farcryCMS

Reply all
Reply to author
Forward
0 new messages