Port Log now viewable via an icon by device port name

This commit is contained in:
Oliver Gorwits
2013-12-29 21:28:48 +00:00
parent 7749082dfd
commit a2cc3f989e
11 changed files with 114 additions and 4 deletions

View File

@@ -92,14 +92,14 @@ $(document).ready(function() {
// toggle visibility of port up/down and edit controls
$('.tab-content').on('mouseenter', '.nd_editable-cell', function() {
$(this).children('.nd_hand-icon').show();
$(this).children('.nd_hand-icon,.nd_log-icon').show();
if (! $(this).is(':focus')) {
$(this).children('.nd_edit-icon').show(); // ports
$(this).siblings('td').find('.nd_device-details-edit').show(); // details
}
});
$('.tab-content').on('mouseleave', '.nd_editable-cell', function() {
$(this).children('.nd_hand-icon').hide();
$(this).children('.nd_hand-icon,.nd_log-icon').hide();
if (! $(this).is(':focus')) {
$(this).children('.nd_edit-icon').hide(); // ports
$(this).siblings('td').find('.nd_device-details-edit').hide(); // details