Commit a293bb7c594130e2a23e0d767afa4951c9624631

Authored by Renato De Donato
2 parents 71ed2ed2 1a40ca08

Merge branch 'master' of http://service.routetopa.eu:7480/WebCompDev/COMPONENTS

controllets/dataset-table-controllet/dataset-table-controllet.html
@@ -389,7 +389,7 @@ @@ -389,7 +389,7 @@
389 _onDownloadInfoClick: function(e){ 389 _onDownloadInfoClick: function(e){
390 $.ajax({ 390 $.ajax({
391 url: ODE.ajax_coocreation_get_dataset_docs, 391 url: ODE.ajax_coocreation_get_dataset_docs,
392 - data: {room_id : e.target.parentElement.room_id, version : e.target.parentElement.version}, 392 + data: {room_id : e.target.parentElement.attributes["room_id"].value, version : e.target.parentElement.attributes["version"].value},
393 dataType: "text", 393 dataType: "text",
394 success: function(e){ 394 success: function(e){
395 var fileName = "dataset"; 395 var fileName = "dataset";
@@ -414,7 +414,7 @@ @@ -414,7 +414,7 @@
414 414
415 $.ajax({ 415 $.ajax({
416 url: ODE.ajax_coocreation_get_dataset, 416 url: ODE.ajax_coocreation_get_dataset,
417 - data: {room_id : e.target.parentElement.room_id, version : e.target.parentElement.version}, 417 + data: {room_id : e.target.parentElement.attributes["room_id"].value, version : e.target.parentElement.attributes["version"].value},
418 dataType: "json", 418 dataType: "json",
419 success: function(e){ 419 success: function(e){
420 var arrData = e; 420 var arrData = e;
@@ -470,7 +470,7 @@ @@ -470,7 +470,7 @@
470 470
471 $.ajax({ 471 $.ajax({
472 url: ODE.ajax_coocreation_get_dataset, 472 url: ODE.ajax_coocreation_get_dataset,
473 - data: {room_id : e.target.parentElement.room_id, version : e.target.parentElement.version}, 473 + data: {room_id : e.target.parentElement.attributes["room_id"].value, version : e.target.parentElement.attributes["version"].value},
474 dataType: "json", 474 dataType: "json",
475 success: function(e){ 475 success: function(e){
476 t.$.data_table_controllet.setData(e); 476 t.$.data_table_controllet.setData(e);