Commit 72cad280 authored by Michal Čihař's avatar Michal Čihař

Make whole row clickable also for AJAX requests

parent 53610c2b
......@@ -186,6 +186,11 @@ $(function() {
if ($panel.is(":empty")) {
$panel.append("<div class='tab-loading'>" + gettext("Loading...") + "</div>");
}
},
load: function (e, ui) {
$('tr.clickable').click(function() {
window.location = $(this).find('a')[0].href;
});
}
});
$('tr.clickable').click(function() {
......
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