|
|
@ -132,6 +132,9 @@ class Page |
|
|
|
// Show progressbar |
|
|
|
// Show progressbar |
|
|
|
$this->progressbar->infinitive(); |
|
|
|
$this->progressbar->infinitive(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Hide response form |
|
|
|
|
|
|
|
$this->response->hide(); |
|
|
|
|
|
|
|
|
|
|
|
// Update content by multi-protocol responser |
|
|
|
// Update content by multi-protocol responser |
|
|
|
$response = new \Yggverse\Yoda\Model\Response( |
|
|
|
$response = new \Yggverse\Yoda\Model\Response( |
|
|
|
$this->navbar->request->getValue(), |
|
|
|
$this->navbar->request->getValue(), |
|
|
@ -153,6 +156,23 @@ class Page |
|
|
|
$location |
|
|
|
$location |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Hide progressbar |
|
|
|
|
|
|
|
$this->progressbar->hide(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return false; // stop |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Response form requested |
|
|
|
|
|
|
|
if ($request = $response->getRequest()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
$this->response->show( |
|
|
|
|
|
|
|
$request['placeholder'], |
|
|
|
|
|
|
|
$request['visible'] |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Hide progressbar |
|
|
|
|
|
|
|
$this->progressbar->hide(); |
|
|
|
|
|
|
|
|
|
|
|
return false; // stop |
|
|
|
return false; // stop |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -199,17 +219,6 @@ class Page |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Response form requested |
|
|
|
|
|
|
|
if ($request = $response->getRequest()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
$this->response->show( |
|
|
|
|
|
|
|
$request['placeholder'], |
|
|
|
|
|
|
|
$request['visible'] |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else $this->response->hide(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Stop event loop on request completed |
|
|
|
// Stop event loop on request completed |
|
|
|
if ($response->isCompleted()) |
|
|
|
if ($response->isCompleted()) |
|
|
|
{ |
|
|
|
{ |
|
|
|