How to Reset the Active Tab in Table
So, I am displaying tabs dynamically, and it works, but when a User deletes all of the records that are "connected", even though all of the tabs disappear correctly and the default table from
index
view is shown, the "connected" active tab query string in the URL is still shown. Setting it to null doesn't work and instead just makes the query string in the URL actually be ?activeTab=null
. Which seems odd.
The only way I could get it to work correctly is by redirecting to the index view URL. Is there a simpler way?
0 Replies