Skip to content

Commit

Permalink
Use SRCH.clearSearchItems in Linkouts.js. Fixes issue #476.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmbroom committed Apr 14, 2023
1 parent 9f2dff6 commit caceeb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NGCHM/WebContent/javascript/Linkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ var linkoutsVersion = 'undefined';
UHM.systemMessage('Nothing to SHOW','To add to the selection: highlight labels on the appropriate axis of the NG-CHM and click "GRAB"');
return;
}
SRCH.clearAllAxisSearchItems (otherAxis);
SRCH.clearSearchItems (otherAxis);
SRCH.setAxisSearchResultsVec (otherAxis, sss[cid].data);
SRCH.redrawSearchResults ();
};
Expand Down Expand Up @@ -2083,7 +2083,7 @@ var linkoutsVersion = 'undefined';
UHM.systemMessage('Nothing to SHOW','To add to the selection: highlight labels on the appropriate axis of the NG-CHM and click "GRAB"');
return;
}
SRCH.clearAllAxisSearchItems (axisNameU);
SRCH.clearSearchItems (axisNameU);
SRCH.setAxisSearchResultsVec (axisNameU, sss[cid].data[idx]);
SRCH.redrawSearchResults ();
}
Expand Down

0 comments on commit caceeb1

Please sign in to comment.