Page 1 of 1

js error

Posted: Tue May 14, 2013 3:59 pm
by Michael4771079

I have the following error
the second screeshot is the js from the file, can someone tell me whats wrong?

Image

Image


js error

Posted: Tue May 14, 2013 4:14 pm
by Oleg Danchenkov

Hi Michael.
'a.name' and 'b.name' in your function means that you try to sort array with objects. And objects has property 'name'.
But your error means that objects in your array has no property 'name'.


js error

Posted: Tue May 14, 2013 5:08 pm
by Michael4771079

Oleg
I dont understand, how can I fix it, all was ok yesterday


js error

Posted: Tue May 14, 2013 6:30 pm
by Michael4771079

thanks Oleg,
I got it sorted