@@ -23,7 +23,7 @@ var recoveries = [];
2323var launches = null ;
2424var receiverCanvas = null ;
2525
26- var sondePrefix = [ "RS92" , "RS92-SGP" , "RS92-NGP" , "RS41" , "RS41-SG" , "RS41-SGP" , "RS41-SGM" , "DFM" , "DFM06" , "DFM09" , "DFM17" , "M10" , "M20" , "iMet-4" , "iMet-54" , "LMS6" , "LMS6-400" , "LMS6-1680" , "iMS-100" , "MRZ" ] ;
26+ var sondePrefix = [ "RS92" , "RS92-SGP" , "RS92-NGP" , "RS41" , "RS41-SG" , "RS41-SGP" , "RS41-SGM" , "DFM" , "DFM06" , "DFM09" , "DFM17" , "M10" , "M20" , "iMet-4" , "iMet-54" , "LMS6" , "LMS6-400" , "LMS6-1680" , "iMS-100" , "MRZ" , "chase" ] ;
2727
2828var got_positions = false ;
2929var zoomed_in = false ;
@@ -55,7 +55,9 @@ var modeList = [
5555 "1 hour" ,
5656 "3 hours" ,
5757 "6 hours" ,
58- "12 hours"
58+ "12 hours" ,
59+ "1 day" ,
60+ "3 days"
5961] ;
6062var modeDefault = "3 hours" ;
6163var modeDefaultMobile = "1 hour" ;
@@ -2655,6 +2657,7 @@ function refresh() {
26552657 $ ( "#stText" ) . text ( "loading |" ) ;
26562658 response . fetch_timestamp = Date . now ( ) ;
26572659 if ( sondePrefix . indexOf ( wvar . query ) > - 1 ) {
2660+ ajax_inprogress_old = "none" ;
26582661 update ( response ) ;
26592662 } else if ( wvar . query != null ) {
26602663 if ( JSON . stringify ( response ) . indexOf ( wvar . query ) == - 1 ) {
@@ -2666,7 +2669,7 @@ function refresh() {
26662669 update ( response ) ;
26672670 }
26682671 } else {
2669- ajax_inprogress_old = wvar . query ;
2672+ ajax_inprogress_old = "none" ;
26702673 update ( response ) ;
26712674 }
26722675 $ ( "#stText" ) . text ( "" ) ;
@@ -3135,12 +3138,17 @@ function startAjax() {
31353138function stopAjax ( ) {
31363139 // stop our timed ajax
31373140 clearTimeout ( periodical ) ;
3141+ periodical = null ;
3142+ ajax_inprogress = false ;
31383143 if ( ajax_positions ) ajax_positions . abort ( ) ;
31393144
31403145 clearTimeout ( periodical_focus ) ;
3146+ periodical_focus = null ;
3147+ ajax_inprogress_single = false ;
31413148 if ( ajax_positions_single ) ajax_positions_single . abort ( ) ;
31423149
31433150 if ( ajax_positions_old ) ajax_positions_old . abort ( ) ;
3151+ ajax_inprogress_old = "none" ;
31443152
31453153 clearTimeout ( periodical_predictions ) ;
31463154 periodical_predictions = null ;
0 commit comments