Comment 2 for bug 1389437

Revision history for this message
Gloria Gu (gloria-gu) wrote : Re: in-line edit doesn't work on the second tab or third tab

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"));
    $(this).find(".table_cell_action").fadeIn(100);
  });

  $('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.

http://10.50.139.1:8888/admin/volumes/?tab=volumes_group_tabs__volume_types_tab