I get this error in the js console on all pages:

Uncaught TypeError: undefined is not a function radix-script.js?n206lw:16
(anonymous function) radix-script.js?n206lw:16
n jquery.min.js?v=1.7.1:2
o.fireWith jquery.min.js?v=1.7.1:2
e.extend.ready jquery.min.js?v=1.7.1:2
c.addEventListener.B jquery.min.js?v=1.7.1:2

The line in radix-script.js is:

// Tooltip.
    $('[data-toggle="tooltip"]').tooltip();
CommentFileSizeAuthor
#3 radix_tooltip_error.jpg153.8 KBlandaupfalz

Comments

socialnicheguru’s picture

shadcn’s picture

Status: Active » Fixed

Thanks for the bug report. We have removed tooltip implementation from radix base theme as it is not really used in the base theme. The best way to implement that is in subthemes.

landaupfalz’s picture

StatusFileSize
new153.8 KB

I'm using the version Radix v7.x-3.0-alpha3 and having the same issue when I try to upload a file using the "IMCE Wysiwyg bridge" module. See the attached screenshot. Haven't you removed the tooltip code from this version?

shadcn’s picture

It's in the latest dev.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

scottalan’s picture

I'm using OA2 and I'm getting this error when trying to create a sub-theme of the OA Radix theme. They are using version: 7.x-3.x-dev specifically at commit: 38eb2d99.

I replaced it with the latest commit as of this post and I'm still getting the error. Tooltip hasn't been removed as state above [#2]

Even after removing the reference to the tooltip there is an undefined error on .popover() as well. Guess I'll try to find out what's going on. If anyone has some more insight please let me know.

scottalan’s picture

Seems this has to do with the fact that creating a sub-theme of OA Radix screws everything up. bootstrap.js doesn't get loaded so .tooltip() and .popover() aren't defined. Reference: https://www.drupal.org/node/2170593#comment-9425375 for anyone finding this from OA2. Sorry Radix :)

capfive’s picture

I'm with Scottalan,

I had to comment out the line of code for Bootstrap popovers

//Bootstrap popover.
  Drupal.behaviors.radix_popover = {
    attach: function(context, setting) {
      $("[data-toggle='popover']").popover();
    }
  }

took me like an hour to solve this issue!

socialnicheguru’s picture

Status: Closed (fixed) » Active

This is still an issue with the latest release

socialnicheguru’s picture

Status: Active » Closed (cannot reproduce)

as of today I cannot reproduce this