From f2743aaa9fd9372c77dfef4df0d539cf082c5a95 Mon Sep 17 00:00:00 2001 From: Helioviewer-Kirill Date: Mon, 13 Aug 2018 08:28:27 -0400 Subject: [PATCH] Fixed issues #243 and #245 --- resources/js/Events/EventMarker.js | 4 ++-- resources/js/UI/TimelineEvents.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/js/Events/EventMarker.js b/resources/js/Events/EventMarker.js index caf04ae31..8db20c563 100644 --- a/resources/js/Events/EventMarker.js +++ b/resources/js/Events/EventMarker.js @@ -785,11 +785,11 @@ var EventMarker = Class.extend( } var noaaSearch = ''; - if( this.frm_name == "NOAA SWPC Observer"){ + if( this.frm_name == "NOAA SWPC Observer" || this.frm_name == "HMI SHARP"){ var eventName = this.fixTitles(this.hv_labels_formatted[Object.keys(this.hv_labels_formatted)[0]]); noaaSearch = '
ADS search for '+eventName+'
\
\ -
arXiv search for '+eventName+'
\ +
arXiv search for '+eventName+'
\
'; } diff --git a/resources/js/UI/TimelineEvents.js b/resources/js/UI/TimelineEvents.js index 2c16879cd..e0010f899 100644 --- a/resources/js/UI/TimelineEvents.js +++ b/resources/js/UI/TimelineEvents.js @@ -502,11 +502,11 @@ var TimelineEvents = Class.extend({ } var noaaSearch = ''; - if( point.frm_name == "NOAA SWPC Observer"){ + if( point.frm_name == "NOAA SWPC Observer" || point.frm_name == "HMI SHARP"){ var eventName = point.hv_labels_formatted[Object.keys(point.hv_labels_formatted)[0]]; noaaSearch = '
ADS search for '+eventName+'
\
\ -
arXiv search for '+eventName+'
\ +
arXiv search for '+eventName+'
\
'; }