$('table').on('mouseleave', '.inline_edit_available', function (evt) {
$(this).find(".table_cell_action").fadeOut(200);
});
It looks like only add mouseover event to the first table loaded. If I load the the page using the following url to force load the volume_types table first, then the pencil shows up for volume_types table, but the pencil won't show up for the volumes.
more information on the issue:
the patch code in volume_ types/tables. py, it is missing row_class=UpdateRow in class Meta: but adding it , it doesn't solve the issue.
Did some more digging today, find the more information:
looks like the the code in horizon/ horizon/ static/ horizon/ js/horizon. tables_ inline_ edit.js for mouse over didn't get add the the volume_types table.
console. log('table_ cell_action is:' + $(this) .find(" .table_ cell_action" )); .find(" .table_ cell_action" ).fadeIn( 100);
$(this)
});
$('table' ).on('mouseleav e', '.inline_ edit_available' , function (evt) { .find(" .table_ cell_action" ).fadeOut( 200);
$(this)
});
It looks like only add mouseover event to the first table loaded. If I load the the page using the following url to force load the volume_types table first, then the pencil shows up for volume_types table, but the pencil won't show up for the volumes.
http:// 10.50.139. 1:8888/ admin/volumes/ ?tab=volumes_ group_tabs_ _volume_ types_tab