Added error handler to AJAX request in stations.js.
This commit is contained in:
parent
2238086066
commit
264036fe53
Notes:
subgit
2018-03-07 17:58:58 +01:00
r666 www/trunk
@ -105,6 +105,10 @@ function loadStations(stime, etime) {
|
||||
$("#stationstable > tbody > tr:even").addClass("odd");
|
||||
$("#stationstable > tbody > tr:odd").addClass("even");
|
||||
stationLayer.bringToFront();
|
||||
},
|
||||
error: function( jqxhr, textStatus, error ) {
|
||||
var err = textStatus + ", " + error;
|
||||
console.log( "Request Failed: " + err );
|
||||
}
|
||||
});
|
||||
// create stations csv download link
|
||||
|
Loading…
Reference in New Issue
Block a user