1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 06:11:16 +00:00

[repo-file-op]highlight it, show some op and etc. when click other line

This commit is contained in:
llj
2012-09-28 11:43:51 +08:00
parent 4efed862ee
commit 414d0ec2bf

View File

@@ -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;
} }