Community
Participate
Working Groups
Created attachment 231052 [details] Illustrates the extra <ul> element added to the sidebar toolbar on selection In the editor view, every time a selection is made on the sidebar, the selection event listener creates a new action selection, which appends 3 duplicate <ul> elements to the sidebarToolbarchildModes div.
https://github.com/gabrielluong/orion.client/tree/Bug408190 Branch: Bug408190 commit d3f6425c99bf48a79998b62e5fb413b56db1c282 https://github.com/gabrielluong/orion.client/commit/d3f6425c99bf48a79998b62e5fb413b56db1c282 I assert that I authored 100% of the content of this contribution and have the rights to donate the content to Eclipse under the EPL
Just to be more clear on how to reproduce this bug 1. Open a file and get to the editor view 2. Put a breakpoint in mini-nav.js at: this.createActionSections() in updateCommands (Line 256) 3. Select a file in the sidebar. 4. Notice the 3 <ul> added to the sidebarToolbarchildModes div with each selection 5. Go back to 3 and repeat
Thanks, good catch. Pushed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=7249f06 FWIW I made a small change in a follow-up commit (b6edb37)