Commit a293bb7c594130e2a23e0d767afa4951c9624631
Merge branch 'master' of http://service.routetopa.eu:7480/WebCompDev/COMPONENTS
Showing
1 changed file
with
3 additions
and
3 deletions
controllets/dataset-table-controllet/dataset-table-controllet.html
... | ... | @@ -389,7 +389,7 @@ |
389 | 389 | _onDownloadInfoClick: function(e){ |
390 | 390 | $.ajax({ |
391 | 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 | 393 | dataType: "text", |
394 | 394 | success: function(e){ |
395 | 395 | var fileName = "dataset"; |
... | ... | @@ -414,7 +414,7 @@ |
414 | 414 | |
415 | 415 | $.ajax({ |
416 | 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 | 418 | dataType: "json", |
419 | 419 | success: function(e){ |
420 | 420 | var arrData = e; |
... | ... | @@ -470,7 +470,7 @@ |
470 | 470 | |
471 | 471 | $.ajax({ |
472 | 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 | 474 | dataType: "json", |
475 | 475 | success: function(e){ |
476 | 476 | t.$.data_table_controllet.setData(e); | ... | ... |