fixes hound

This commit is contained in:
Mojca Lorber 2016-09-28 16:09:39 +02:00
parent efa7a1d7b5
commit f4345f3aef

View file

@ -47,10 +47,10 @@ table = $("#samples").DataTable({
sWidth: "1%"
}, {
targets: 2,
render: function ( data, type, row, full, meta ) {
return '<a href="#" data-href="' + row.sampleUpdateUrl + '"' +
'class="sample_info" data-toggle="modal"' +
'data-target="#modal-info-sample">'+data+'</a>';
render: function (data, type, row) {
return "<a href='#' data-href='"+ row.sampleUpdateUrl +"'"+
"class='sample_info' data-toggle='modal'" +
"data-target='#modal-info-sample'>"+ data +"</a>";
}
}],
rowCallback: function(row, data, dataIndex){