mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update window title on tab change
This commit is contained in:
parent
2fe9de0163
commit
89cd368806
1 changed files with 4 additions and 0 deletions
|
|
@ -83,6 +83,10 @@ class App
|
||||||
'switch-page',
|
'switch-page',
|
||||||
function ($tabs, $child, $position)
|
function ($tabs, $child, $position)
|
||||||
{
|
{
|
||||||
|
$this->setTitle(
|
||||||
|
$tabs->get_tab_label_text($child)
|
||||||
|
);
|
||||||
|
|
||||||
if ('+' == $tabs->get_tab_label_text($child))
|
if ('+' == $tabs->get_tab_label_text($child))
|
||||||
{
|
{
|
||||||
$page = $this->blankPage();
|
$page = $this->blankPage();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue