Skip to content

Commit

Permalink
run ensureActivatedTab() after renderMenu (renderValue method) is cal…
Browse files Browse the repository at this point in the history
…led. This allows for the correct tab to be selected for dynamic sidebars (closes #87, closes #71)
  • Loading branch information
bborgesr committed Feb 24, 2017
1 parent 3f2399f commit bbafe3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inst/shinydashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ $(function() {

Shiny.initializeInputs(el);
Shiny.bindAll(el);
ensureActivatedTab();
}
});
Shiny.outputBindings.register(menuOutputBinding,
Expand Down

0 comments on commit bbafe3d

Please sign in to comment.