Listenerstat ajax call was missing baseUrl
This commit is contained in:
parent
89274e43b3
commit
f80f0dddd7
|
@ -22,7 +22,7 @@ $(document).ready(function() {
|
|||
|
||||
function getDataAndPlot(startTimestamp, endTimestamp){
|
||||
// get data
|
||||
$.get('/Listenerstat/get-data', {startTimestamp: startTimestamp, endTimestamp: endTimestamp}, function(data){
|
||||
$.get(baseUrl+'/Listenerstat/get-data', {startTimestamp: startTimestamp, endTimestamp: endTimestamp}, function(data){
|
||||
data = JSON.parse(data);
|
||||
out = new Object();
|
||||
$.each(data, function(mpName, v){
|
||||
|
|
Loading…
Reference in New Issue