Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
js-error when click Add
09/04/2011
22:13
Avatar
BorisKorobkov
Member
Members
Forum Posts: 3
Member Since:
09/04/2011
sp_UserOfflineSmall Offline

jqGrid 4.0, Firefox 3.6.16

How to repeate error:

  1. click Add ("+")
  2. click Cancel
  3. click Add ("+")

Error "fld[0] is undefined. if( fld[0].type=='checkbox' ) {" in grid.formedit.js#L488

How to fix error: replace in grid.formedit.js#L473

if(fld && fld[0] !== null)

->

if(fld && fld.length && fld[0] !== null)
11/04/2011
12:39
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Thenks.

Not 100% sure, but this is connected with jQuery 1.5.x new behaviour.

Also fixed.

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

10/05/2011
20:28
Avatar
Gyaq
New Member
Members
Forum Posts: 1
Member Since:
10/05/2011
sp_UserOfflineSmall Offline

I tried this fix, but it did not help any other ideas?

Thanks

EDIT:

This does fix the error, I'm having an issue with vs2010 cache not reloading js files properly.

Thanks for the information.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
28 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information