Ask A Question

Notifications

You’re not receiving notifications from this thread.

Rails changing HTML tag possiton (?)

Nelson asked in General

Im using AdminLTE 2 to build a small dashboard and everything was working nicely until I started adding links to the controllers on my sidebar.

On first loading the dashboard everything works as expected (dropdowns, sidebars, etc) on going to another controller (/employee) the functionality of these names components its just not there, but the console logs no errors, on clicking on the menu to go back to the Dashboard the problem persists. The only way of bringing the missing functionality back is to refresh the page.

I did a DiffCheck of the dashboard index on first load (everything works) and then once I'm back from any controller (functionality missing) and there is some tags changing in possition and others just completely change its attributes. See pictures:

https://i.imgur.com/Mp31WFp.png

https://i.imgur.com/JtM2Q2t.png

https://i.imgur.com/8Y7r0tK.png

Reply

Nevermind... after a few hours of debugging I manage to find the source of my suffering... it was Turbolinks... I removed that and now thinks are back on track...

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,110+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.