diff --git a/www/events.js b/www/events.js index 00881c8..a632b48 100644 --- a/www/events.js +++ b/www/events.js @@ -103,7 +103,7 @@ function ajaxLoadEvents(stime, etime) { + ''+location+'Karte' + ''; // setting up event details (2nd line) - row += '' + row += '' + 'Daten werden geladen ...'; // setting up download links (3nd line) var xmlurl = sprintf('%s?formatted=true&includearrivals=true&eventid=%s', config['ajax']['eventURL'], id); @@ -112,7 +112,7 @@ function ajaxLoadEvents(stime, etime) { var etime = new Date(oTime.getTime()+50*1000.-oTime.getMilliseconds()); console.log(oTime, stime, etime); var mseedurl = sprintf('%s?net=GE,GR,RN&cha=EH?,HH?&start=%04d-%02d-%02dT%02d:%02d:%02d&end=%04d-%02d-%02dT%02d:%02d:%02d', config['ajax']['mseedURL'], Number(stime.getUTCFullYear()), Number(stime.getUTCMonth())+1, Number(stime.getUTCDate()), Number(stime.getUTCHours()), Number(stime.getUTCMinutes()), Number(stime.getUTCSeconds()), Number(etime.getUTCFullYear()), Number(etime.getUTCMonth())+1, Number(etime.getUTCDate()), Number(etime.getUTCHours()), Number(etime.getUTCMinutes()), Number(etime.getUTCSeconds())); - row += '' + row += '' + '' + sprintf('Download QuakeML or miniSEED', xmlurl, mseedurl) + ''; @@ -218,7 +218,7 @@ function ajaxLoadEventInfo(id) { }; }); row = row + ''; - $('#eventstable > tbody > tr.tablesorter-childRow > td[eventid='+id+']').html(row); + $('#eventstable > tbody > tr.event-details > td[eventid='+id+']').html(row); }); }, complete: function () {