You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
When a tab is selected and the deselect function calls preventDefault() on the event, it is sometimes desirable to be able to navigate to the tab that was attempted to be opened after some work has been performed. One example is when you show a confirmation dialog that asks the user if they wish to save their changes before continuing. Without the selected tab index being passed, after the user makes his selection there is no way to determine which tab he should be taken to.
- Add the index of the tab the user attempted to open to the onDeselect call, which allows the user to directed to the selected tab
after some work is performed.
- Closesangular-ui#5820
- Add the index of the tab the user attempted to open to the onDeselect call, which allows the user to directed to the selected tab
after some work is performed.
- Closesangular-ui#5820
ksieburg
added a commit
to ksieburg/bootstrap
that referenced
this issue
Apr 19, 2016
- Add the index of the tab the user attempted to open to the onDeselect call, which allows the user to directed to the selected tab
after some work is performed.
- Closesangular-ui#5820
- Add the index of the tab the user attempted to open to the onDeselect call, which allows the user to directed to the selected tab
after some work is performed.
- Closesangular-ui#5820
When a tab is selected and the deselect function calls preventDefault() on the event, it is sometimes desirable to be able to navigate to the tab that was attempted to be opened after some work has been performed. One example is when you show a confirmation dialog that asks the user if they wish to save their changes before continuing. Without the selected tab index being passed, after the user makes his selection there is no way to determine which tab he should be taken to.
This plunker demonstrates the issue (change the text in the first tab's text box)
And this one demonstrates the fix
I will be submitting a PR for this shortly.
Angular: 1.5.3
UIBS: 1.3.2
The text was updated successfully, but these errors were encountered: