Dashboard\Component: don't pass on limit

Dashlets might be limited to just a few line, we shoultn't pass on
this parameters when showing the "large" variant
This commit is contained in:
Thomas Gelf 2014-06-20 14:29:45 +02:00
parent ac7354295a
commit 01631720cc
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ EOD;
$html = str_replace('{URL}', $url, $this->template); $html = str_replace('{URL}', $url, $this->template);
$html = str_replace('{IFRAME_URL}', $iframeUrl, $html); $html = str_replace('{IFRAME_URL}', $iframeUrl, $html);
$html = str_replace('{FULL_URL}', $url->getUrlWithout('view'), $html); $html = str_replace('{FULL_URL}', $url->getUrlWithout(array('view', 'limit')), $html);
$html = str_replace('{REMOVE_BTN}', $this->getRemoveForm($view), $html); $html = str_replace('{REMOVE_BTN}', $this->getRemoveForm($view), $html);
$html = str_replace('{TITLE}', $view->escape($this->getTitle()), $html); $html = str_replace('{TITLE}', $view->escape($this->getTitle()), $html);
$html = str_replace('{REMOVE}', $this->getRemoveForm(), $html); $html = str_replace('{REMOVE}', $this->getRemoveForm(), $html);