railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.9k stars 2.26k forks source link

popover is not a function #1047

Closed tiagosamaha closed 12 years ago

tiagosamaha commented 12 years ago

Hi all,

I have just run "bundle update" and drop down menu (selected items/ new filter) don't work. I just saw the error in FireBug.

Line 23 $("a[rel=popover]").popover is not a function

..."pjax:beforeSend");this.trigger(h,[c,e]),g=h.result;if(g===!1)return!1;this.trig...

agn507 commented 12 years ago

Having the same issue here. Tried to debug to see exactly why but didn't have much luck.

tiagosamaha commented 12 years ago

Are you using twitter-bootstrap-rails? I think that there is a conflict between these gems. When I install twitter-bootstrap-rails (rails g bootstrap:install), all JavaScripts stop working on rails_admin.

agn507 commented 12 years ago

I am using twitter-bootstrap-rails. Should these really conflict though if the admin section isn't loading any of the assets from twitter-bootstrap-rails?

bbenezech commented 12 years ago

Yeah they conflict. They are not properly namespaced for asset pipeline.

bbenezech commented 12 years ago

I've updated Troubleshoot in the wiki.