Skip to content

Commit

Permalink
Fixed SearchTool not refreshing chart if ChartTool already loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroberts committed Nov 14, 2023
1 parent 39fbea7 commit 4632b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/essence/MMGIS-Private-Tools/Search/SearchTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ function doWithSearch( doX, forceX, forceSTS, isURLSearch ) {
newActive.addClass( 'active' ).css( { 'color': ToolController_.activeColor } );
newActive.parent().css( { 'background': ToolController_.activeBG } );
ToolController_.makeTool( 'ChartTool' );
ToolController_.getTool( 'ChartTool' ).use( selectLayers[0].feature );
}
ToolController_.getTool( 'ChartTool' ).use( selectLayers[0].feature );
// if( !isURLSearch ) {
// QueryURL.writeSearchURL( x, SearchTool.lname );
// }
Expand Down

0 comments on commit 4632b75

Please sign in to comment.