Drupal 7.28
PHP 5.4.4
Bootstrap 7.x-3.1-beta1+1-dev
CDN activated to version 3.1.1
jQuery Update activated to version 1.10

Steps to reproduce:

1. Created new page with Full HTML filter (all restrictions on the filter are removed).

2. Inserted the following into the body: <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</button> as per http://getbootstrap.com/javascript/#tooltips.

3. Verified that tooltips are enabled in theme settings.

4. Verified that the resulting HTML in view mode is the same as I entered in edit mode.

5. Verified that the theme's bootstrap.js file is being called from the bottom of the page.

Result:

No tooltip appears when hovering over the button.

Comments

Adam_M’s picture

Update: this misbehavior doesn't happen when I'm logged out.

markhalliwell’s picture

Version: 7.x-3.1-beta1 » 7.x-3.x-dev
Status: Active » Postponed (maintainer needs more info)

Interesting. I'll have to take a look into this when I get some time. It looks as if perhaps anon users are getting the bootstrap.js file but not authenticated user?

dgtlmoon’s picture

FWIW I've added

settings[bootstrap_tooltip_enabled] = 0

To my subtheme.info , flushed all caches but I see tooltip is still enabled at admin/appearance/settings/subtheme

markhalliwell’s picture

#3 has nothing to do with this issue, but the reason your theme .info settings aren't being picked up is because you override them in the UI (which is saved to the database). You have to remove the database entry if you want to get your setting changes from the .info file to be picked up again.

@see #2204241: Sub-theme .info settings are ignored

markhalliwell’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

@Adam_M, I just test this with the latest dev (followed your instructions to the letter). Unfortunately I cannot reproduce. The tooltip shows up for me on the button (both logged in and out). Not sure if something along the line "fixed" whatever you were running into or if it's something with your setup.