LOVE this project by the way. I was contemplating doing the same myself!

I noticed that Panels IPE acts all funky (as in loading forever and ever whenever modals open) when this theme is enabled. Any ideas on how we can fix that? I'm wondering if it has to do with the hardcoded jquery lib thats being loaded in the theme? Panopoly comes with jquery update built in and configured so I feel like there might be another way to address the jquery version problem.

Is anyone else having this problem?

This is the only thing i consistently see in the console log that might be associated with the problem:

Uncaught TypeError: Object [object Object] has no method 'once'
Drupal.behaviors.fillUserInfoFromCookie.attach
Drupal.attachBehaviors drupal.js:55
e.extend.each jquery.min.js:2
Drupal.attachBehaviors drupal.js:53
Drupal.ajax.commands.insert ajax.js:542
Drupal.ajax.success ajax.js:400
Drupal.ajax.ajax.options.success ajax.js:164
f.Callbacks.n jquery.min.js:2
f.Callbacks.o.fireWith jquery.min.js:2
w jquery.min.js:4
f.support.ajax.f.ajaxTransport.send.d

Comments

rerooting’s picture

Looks like removing the jquery 1.8 add_js() in template.php fixed it!

So it looks like (I at least) will have to sit pretty and until then use 1.7.1. I am going to explore assigning weights in drupal_add_js() and see if that fixes it, or see if we can load 1.8 contextually, for example only for users without the ability to use Panels IPE? 1.8 even breaks some of the panopoly stuff, for example the 'spotlight' pane (which we could replace with a carousel in the radix_extras module, eh?!).

shadcn’s picture

Assigned: Unassigned » shadcn

Yep. adding jQuery via template.php was the quickest and not the best solution I used to test bootstrap's js plugins.

Thanks for the bug report. Assigning this to me. :)

shadcn’s picture

Title: Panels IPE » jQuery 1.8 breaks Panopoly
rerooting’s picture

In fact, it looks like you just need to go to admin/config/development/jquery_update and change it to 1.8!

shadcn’s picture

jquery_update with 1.8 still breaks Panopoly :(

rerooting’s picture

hmm strange... it seems to be working for me? from what i can tell at least. does bootstrap's components *need* 1.8 anyways? It says that the latest is needed but.. harumph.

shadcn’s picture

Status: Active » Fixed

Marking this as fixed. Feel free to reopen.

Status: Fixed » Closed (fixed)

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