You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing floorplan for location when I click on Un-racked devices there are no devices listed even when I have some devices under Location but not in Rack.
Looking through the code, I see there are two ajax calls here.
Using browser developer tools I see that the first URL (/plugins/floorplan/floorplans/racks/?floorplan_id=1) is called and loaded, but the second (/plugins/floorplan/floorplans/devices/?floorplan_id=1) is not called by the browser at all.
If I use browser developer tools to set a breakpoint to the first ajax call and then just continue execution (so just a small pause is introduced) it works - both URLs are called and shown correctly. So there might be a race condition of some kind?
Tested on:
netbox 4.0.7
netbox-floorplan 0.4.0
firefox 127 and chromium 126
The text was updated successfully, but these errors were encountered:
When editing floorplan for location when I click on Un-racked devices there are no devices listed even when I have some devices under Location but not in Rack.
Looking through the code, I see there are two ajax calls here.
Using browser developer tools I see that the first URL (
/plugins/floorplan/floorplans/racks/?floorplan_id=1
) is called and loaded, but the second (/plugins/floorplan/floorplans/devices/?floorplan_id=1
) is not called by the browser at all.If I use browser developer tools to set a breakpoint to the first ajax call and then just continue execution (so just a small pause is introduced) it works - both URLs are called and shown correctly. So there might be a race condition of some kind?
Tested on:
The text was updated successfully, but these errors were encountered: