dungbanguyen / adminlte-rails

The AdminLTE Rails gem integrates AdminLTE theme with the Rails asset pipeline
https://github.com/shine60vn/adminlte-rails
MIT License
129 stars 73 forks source link

Javascript Issues #5

Closed nccmike closed 9 years ago

nccmike commented 9 years ago

Perhaps a bit of a rookie issue, but after adding the entries to my application.js file, I got a javascript error in my console and my dropdown menus and treeview menus are not working.

The error is: Uncaught TypeError: undefined is not a function -- admin-lte.js?body=1:70

I can actually get dropdown menus to work if I move the bootstrap.js to the top of the required files but of course I then get an error saying jQuery is required.

I can not get the treeview menu to work even after removing all the turbolinks references.

nccmike commented 9 years ago

Please disregard. I found a few remaining .js references in the sample index file. Once removed, everything works like a champ. Thanks so much!