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:
parent
ac7354295a
commit
01631720cc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue