How to refresh same routable tab?


#1
{
 path: '/',
 url: './home.html',
 tabs: [
 {
 path: '/',
 id: 'tab1',
...
 },
 {
 path: 'settings/',
 id: 'tab2',
...
 },

Like this?

app.router.navigate('/settings/');

Please, help me.


#2
view.router.navigate('./settings/');

This method don’t update if settings is current tab.
But how to update the current routable tab?


#3

my way to update the current tab - recursion:

function created_tab() {
// for example the code that creates tab content from mysql
   app.request.post('content_tab.php', function (data) {
    $$('#tab_div').html(data);
// button refresh (or other el) in the tab
       $$('#button_refresh').on('click', function(){
        created_tab();  // current tab refreshed
       });
    });
}