Commit 6236a16e by Markus Koschany

Merge branch 'master' into 'master'

Prevent resetting filter by clicking on a link

By clicking on a link, the player or website is shown. When you going back, your filter is no more active. I think it's usefull to use here target=blank instaed of "Open in new tab".

See merge request !2
parents 2c4f62a8 aef232ac
......@@ -33,14 +33,14 @@ $(document).ready( function () {
"targets": 1,
"data": 6,
"render": function (data, type, row, meta) {
return '<a href="'+data+'">'+row[1]+'</a> <br /><span class="r3"> '+row[5]+'</span> ';
return '<a href="'+data+'" target="_blank">'+row[1]+'</a> <br /><span class="r3"> '+row[5]+'</span> ';
}
},
{
"targets": 0,
"data": 7,
"render": function (data, type, row, meta) {
return '<a href="'+data+'">'+row[0]+'</a>';
return '<a href="'+data+'" target="_blank">'+row[0]+'</a>';
}
}
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment