Forum

May 22nd, 2014
A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

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

Topic RSS
unreachable code in grid.formedit.js
11/01/2013
14:09
skubche
Member
Forum Posts: 4
Member Since:
10/01/2013
Offline

Found unreachable code in grid.formedit.js!

There is line 7608:

if(rp_ge[$t.p.id].reloadAfterSubmit) {$($t).trigger("reloadGrid");} else {...}

This condition "if(rp_ge[$t.p.id].reloadAfterSubmit)" it always equals TRUE!

Regards

11/01/2013
14:21
OlegK
Germany
Member
Forum Posts: 1233
Member Since:
10/08/2009
Offline

reloadAfterSubmit is just an option which default value is true (see the documentation), but one can change it like any other option. Typically one specify the option as part of parameters of navGrid (see an example here).

11/01/2013
14:22
skubche
Member
Forum Posts: 4
Member Since:
10/01/2013
Offline

Thanks! Try to change it.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 215

Currently Online: shrat
90 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1233

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11325

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10533

Posts: 31139

Newest Members: s2e_grid, Ron, ranjansudeep12, songcon2, marcosvmauri, Shahid1

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

Administrators: admin: 61

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information