IXP-Manager icon indicating copy to clipboard operation
IXP-Manager copied to clipboard

Configured mac address list sometimes doesn't show MAC addresses

Open listerr opened this issue 4 years ago • 1 comments

Seems #740 has not been fixed. We seem to have the correct version of resources/views/layer2-address/js/vlan-interface.foil.php but same problem occurs.

image

listerr avatar Mar 16 '22 11:03 listerr

Did some experimenting on this, but can't figure out why exactly this happens. It's super annoying.

Best I could do so far by removing various class bits is make it appear for half a second and then it vanishes.

I've got the browser window full screen, so it should show it. (and indeed does, sometimes, but not all the time. Odd.)

If I do "view page source" the MACs are there, but when I do inspect/debugging with chrome, they disappear when the JavaScript executes.

If I change:

<table id="layer-2-interface-list" class="table table-striped w-100">

to:

<table id="Xlayer-2-interface-list" class="table table-striped w-100">

MAC address column always shows.

So I think it's something to do with the js/datatables init when it does this:


       $( '#layer-2-interface-list' ).DataTable( {
            stateSave: true,
            stateDuration : DATATABLE_STATE_DURATION,
            responsive : false,
            "order": [[ 0, "asc" ]]
        });

?

listerr avatar May 03 '22 13:05 listerr