From caceeb1690d3f1bfc228d23c2130a1852a0faee6 Mon Sep 17 00:00:00 2001 From: Bradley Broom Date: Thu, 13 Apr 2023 11:35:10 -0500 Subject: [PATCH] Use SRCH.clearSearchItems in Linkouts.js. Fixes issue #476. --- NGCHM/WebContent/javascript/Linkout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NGCHM/WebContent/javascript/Linkout.js b/NGCHM/WebContent/javascript/Linkout.js index 0520da10..42d33bb5 100644 --- a/NGCHM/WebContent/javascript/Linkout.js +++ b/NGCHM/WebContent/javascript/Linkout.js @@ -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 (); }; @@ -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 (); }