Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadFirstTab does not work #12

Open
theunreal opened this issue Jan 16, 2016 · 1 comment
Open

loadFirstTab does not work #12

theunreal opened this issue Jan 16, 2016 · 1 comment

Comments

@theunreal
Copy link

Even after setting hte loadFirstTab to true by defalt and by extra configuration, the first tab is not loaded.

http://stackoverflow.com/questions/34825343/bootstrap-remote-tabs-load-first-tab/34825426#34825426

@zubair1
Copy link

zubair1 commented Mar 27, 2016

Any updates on this issue? Its still there.

I made a work around for this, i replaced this:

    if (!customSettings.loadFirstTab && !hasTab) {
        firstTab.click();
    }

with this:

    if (customSettings.loadFirstTab && hasTab) {
        $(firstTab.attr('href')).load(firstTab.attr('data-tab-url'));
    }

It seems to be doing the job and loading the first tab, but still, it doesn't feel right as it doesn't take into account the other things the plugin is doing such as Load Masking...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants