Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Uncaught TypeError: Cannot read property 'sort' of undefined #35

Open
selvakumarmvs opened this issue Nov 12, 2014 · 0 comments
Open

Uncaught TypeError: Cannot read property 'sort' of undefined #35

selvakumarmvs opened this issue Nov 12, 2014 · 0 comments

Comments

@selvakumarmvs
Copy link

Hi,

I tried the example given in the following folder for mobile application,

Ext.ux.TouchCalendar / examples / mvc /

I am getting the following error ,
Chrome => "Uncaught TypeError: Cannot read property 'sort' of undefined "
Safari => "undefined is not an object (evaluating 'eventStore.sort')"

Error occurred in Ext.ux.TouchCalendarEventsBase.js

line : ->

eventStore.sort(this.getPlugin().getStartEventField(), this.getEventSortDirection());

The corresponding values of the fields during run time,
this.getPlugin().getStartEventField() => start
this.getEventSortDirection() => DESC

Also this error is occurred before loading event store. Please check the following display in chrome console,

Uncaught TypeError: Cannot read property 'sort' of undefined Ext.ux.TouchCalendarEventsBase.js?_dc=1415814674027:68
XHR finished loading: GET "http://localhost:8888/touch/myapp/data/eventData.json?_dc=1415814675273&page=1&start=0&limit=25".

Please help me.

Thanks,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant