Commit a3ab3d68 by Kálmán Viktor

dashboard: vm list js fix

parent 3d6735c3
...@@ -172,14 +172,18 @@ $(function() { ...@@ -172,14 +172,18 @@ $(function() {
'trigger': 'click' 'trigger': 'click'
}); });
$('tbody a').click(function(e) { $('tbody a').mousedown(function(e) {
// parent tr doesn't get selected when clicked // parent tr doesn't get selected when clicked
e.stopPropagation(); e.stopPropagation();
});
$('tbody a').click(function(e) {
// browser doesn't jump to top when clicked the buttons // browser doesn't jump to top when clicked the buttons
if(!$(this).hasClass('real-link')) { if(!$(this).hasClass('real-link')) {
return false; return false;
} }
}); });
}); });
function collectIds(rows) { function collectIds(rows) {
......
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 sign in to comment