$toolbar = Toolbar::getInstance(); $toolbar->back('foobar');
<a href="javascript:history.back();">foobar</a>
<a href="javascript:history.back();">back</a>
5.2.0
public function back(string $text = 'JTOOLBAR_BACK'): LinkButton
{
return $this->link('back', $text)
->url('javascript:history.back();');
}
Solution:
public function back(string $text = 'JTOOLBAR_BACK'): LinkButton
{
return $this->link($text, 'javascript:history.back();');
}
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-11-22 18:14:52 |
Closed_By | ⇒ | Quy |
@Steinweber as you know the solution, would you like to make a PR?