mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
[repo-file-op]highlight it, show some op and etc. when click other line
This commit is contained in:
@@ -249,6 +249,10 @@ $(document).click(function(e) {
|
|||||||
if (!(its_tr.find('*').is(target))) {
|
if (!(its_tr.find('*').is(target))) {
|
||||||
clicked_more_op_icon.parent().addClass('vh');
|
clicked_more_op_icon.parent().addClass('vh');
|
||||||
its_tr.removeClass('hl');
|
its_tr.removeClass('hl');
|
||||||
|
if ($('table tr:gt(0)').find('*').is(target)) {
|
||||||
|
target.parentNode.className += 'hl';
|
||||||
|
target.parentNode.getElementsByTagName('div')[0].className = 'repo-file-op';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
no_file_op_popup = true;
|
no_file_op_popup = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user