You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.
When I submit row add, it works, but doesnt appear - I must refresh page.
First HTTP request and reponse:
POST /crm/www/zakaznik/detail?id_zakaznik=106&do=skupinaZakaznikGrid-gridForm-submit
{"redirect":"http:\/\/localhost\/crm\/www\/zakaznik\/detail?id_zakaznik=106&_fid=ftz1"}
Second HTTP request and reponse:
GET http://localhost/crm/www/zakaznik/detail?id_zakaznik=106&_fid=ftz1
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
...
Server evidently sends HTML instead of JSON.
I resolve it by commenting out redirect() in Grid::rowFormSubmitted():
publicfunctionrowFormSubmitted($values, $gridName)
{
...
//$this->redirect("this"); // JK: cause problems with ajax editation
}
Better idea?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I submit row add, it works, but doesnt appear - I must refresh page.
First HTTP request and reponse:
Second HTTP request and reponse:
Server evidently sends HTML instead of JSON.
I resolve it by commenting out redirect() in Grid::rowFormSubmitted():
Better idea?
The text was updated successfully, but these errors were encountered: