koansys / isat

Satellite Orbit Tracker: implement most-current SGP models and algorithms in JavaScript, then use to visualize hundreds of satellites with any browser
BSD 3-Clause "New" or "Revised" License
96 stars 38 forks source link

Picking satellite from list doesn't set "More on... " HREF links #124

Closed shentonfreude closed 11 years ago

shentonfreude commented 11 years ago

If you click on a satellite icon, it selects it, shows the orbit, and brings up a form of location details with "More on..." links to NSSDC and SMD pages on the mission -- it populates those HREF values based on selected satellite name. All's well.

    function satelliteClickDetails(scene) {
...
                        document.getElementById('science_url').href = scienceUrl;
...
                        document.getElementById('nssdc_url').href = nssdcUrl;

But if we pick a satellite from the pull-down list, once selected, the satellite's HREF to SMD and NSSDC does NOT get populated -- the link goes to a # placeholder.