Forum
19:34
05/05/2011
Steps to reproduce:
1. In inline editing change make some change which causes server to return 4xx error code.
2. Correct the error and try to save again.
Observed:
Enter key is ignored. Changed data is lost. As notid in other thread probably Enter key binding is removed also if error has returned from server call.
Notes
This issue is described also in
/blog/?page_id=393&forum=1&topic=5672&watch=user
/blog/?page_id=393/help/ajax-validation-while-saving-an-inline-edit/
https://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js
show two different names:
line 23 and 103 :
"restoreAfterErorr" : true
line 250:
if(o.restoreAfterError === true) {
I tried to use
function errorfunc(rowid, response) {
restoreAfterError = false;
restoreAfterErorr = false;
grid.restoreAfterError = false;
grid.restoreAfterErorr = false;
alert(response.responseText);
return true;
}
After error messagebox is shown but Enter key will not work. How to allow Enter key to save again after error ?
Most Users Ever Online: 715
Currently Online:
24 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66