Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






improving error handling if error handler of $.ajax

UserPost

16:11
30/06/2012


OlegK

Germany

Member

posts 1157

Hello Tony,

the current code of jqGrid use in different way the error handle of $.ajax. The form editing module uses data.statusText (see here or here as examples) and inline editing use res.responseText (see here and here).

In case of cross-domain errors for example the responseText property will be not set and "undefined" text will be displayed. Probebly one can better change res.responseText to something like res.responseText || res.statusText?

Best regards
Oleg 

13:54
01/07/2012


tony

Sofia, Bulgaria

Moderator

posts 7007

Hello Oleg,

Added.


Regards


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

66 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9589

Posts: 28778

Membership:

There are 10150 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7007 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information