Use Url::getRelativeUrl() when updating dashlets

fixes #8363
This commit is contained in:
Eric Lippmann 2015-04-07 13:05:12 +02:00
parent e32eeb991e
commit cdd5da80f0
2 changed files with 6 additions and 6 deletions

View File

@ -150,7 +150,7 @@ class DashletForm extends Form
'org_pane' => $dashlet->getPane()->getName(),
'dashlet' => $dashlet->getTitle(),
'org_dashlet' => $dashlet->getTitle(),
'url' => $dashlet->getUrl()
'url' => $dashlet->getUrl()->getRelativeUrl()
));
}
}

View File

@ -55,8 +55,8 @@
</td>
<td style="table-layout: fixed; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
<?= $this->qlink(
$dashlet->getUrl(),
$dashlet->getUrl(),
$dashlet->getUrl()->getRelativeUrl(),
$dashlet->getUrl()->getRelativeUrl(),
null,
array('title' => sprintf($this->translate('Show dashlet %s'), $dashlet->getTitle()))
); ?>