Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configured mac address list sometimes doesn't show MAC addresses #791

Open
listerr opened this issue Mar 16, 2022 · 1 comment
Open

Configured mac address list sometimes doesn't show MAC addresses #791

listerr opened this issue Mar 16, 2022 · 1 comment

Comments

@listerr
Copy link
Contributor

listerr commented Mar 16, 2022

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
Copy link
Contributor Author

listerr commented May 3, 2022

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" ]]
        });

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant