Commit a63927c9 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Buf #4257 / Dynamic update broken - after changing JSON data structure, update...

Buf #4257 / Dynamic update broken - after changing JSON data structure, update load.php has been missed.
parent 1f2ad4f6
......@@ -63,10 +63,9 @@ try {
// $answer[API_REDIRECT] = $qfq->getForwardMode($answer[API_REDIRECT_URL]);
$answer[API_STATUS] = API_ANSWER_STATUS_SUCCESS;
$answer[API_MESSAGE] = 'load: success';
$answer[API_FORM_UPDATE] = $data;
$answer[API_FORM_UPDATE] = $data[API_FORM_UPDATE];
$answer[API_ELEMENT_UPDATE] = $data[API_ELEMENT_UPDATE];
unset($answer[API_FORM_UPDATE][API_ELEMENT_UPDATE]);
// unset($answer[API_FORM_UPDATE][API_ELEMENT_UPDATE]);
} catch (qfq\UserFormException $e) {
$answer[API_MESSAGE] = $e->formatMessage();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment