Revert "Tabs: Merge the action's params into the current request url's params"

This reverts commit ba4dd255ec.

fixes #9494
This commit is contained in:
Johannes Meyer 2015-06-24 15:27:39 +02:00
parent 20fd3d6758
commit 8448f4ade4
1 changed files with 2 additions and 3 deletions

View File

@ -309,14 +309,13 @@ EOT;
private function renderRefreshTab()
{
$url = Url::fromRequest()->without('renderLayout');
$tab = $this->get($this->getActiveName());
if ($tab !== null) {
$url = Url::fromRequest($tab->getUrl()->getParams()->toArray(false))->without('renderLayout');
$label = $this->view()->escape(
$tab->getLabel()
);
} else {
$url = Url::fromRequest()->without('renderLayout');
}
if (! empty($label)) {