Commit d0ac1aa9b641fa1314f198e14faf87723348fdb1

Authored by Renato De Donato
1 parent 38742d5a

dataset spod

controllets/select-dataset-controllet/select-dataset-controllet.html
@@ -485,11 +485,11 @@ @@ -485,11 +485,11 @@
485 // this.datasets = that.datasets["result"]["datasets"]; 485 // this.datasets = that.datasets["result"]["datasets"];
486 486
487 $.ajax({ 487 $.ajax({
488 - url: "http://172.16.15.77/cocreation/ajax/get-all-dataset", 488 + url: "/cocreation/ajax/get-all-dataset",
489 dataType: "json", 489 dataType: "json",
490 success: function(spodDatasets){ 490 success: function(spodDatasets){
491 491
492 - that.providers = $.extend(that.datasets["result"]["providers"], {99: {api_url: "http://172.16.15.77/cocreation/ajax/get-all-dataset", id: "99", image_hash: "SPOD", title: "SPOD"}}); 492 + that.providers = $.extend(that.datasets["result"]["providers"], {99: {api_url: "/cocreation/ajax/get-all-dataset", id: "99", image_hash: "SPOD", title: "SPOD"}});
493 that.datasets = $.merge(spodDatasets, that.datasets["result"]["datasets"]); 493 that.datasets = $.merge(spodDatasets, that.datasets["result"]["datasets"]);
494 494
495 if(that.suggestedDatasets) { 495 if(that.suggestedDatasets) {