|
|
|
@ -132,6 +132,9 @@ class Page
@@ -132,6 +132,9 @@ class Page
|
|
|
|
|
// Show progressbar |
|
|
|
|
$this->progressbar->infinitive(); |
|
|
|
|
|
|
|
|
|
// Hide response form |
|
|
|
|
$this->response->hide(); |
|
|
|
|
|
|
|
|
|
// Update content by multi-protocol responser |
|
|
|
|
$response = new \Yggverse\Yoda\Model\Response( |
|
|
|
|
$this->navbar->request->getValue(), |
|
|
|
@ -153,6 +156,23 @@ class Page
@@ -153,6 +156,23 @@ class Page
|
|
|
|
|
$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 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -199,17 +219,6 @@ class Page
@@ -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 |
|
|
|
|
if ($response->isCompleted()) |
|
|
|
|
{ |
|
|
|
|