Closed (fixed)
Project:
radix
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Dec 2012 at 22:35 UTC
Updated:
2 Feb 2013 at 01:00 UTC
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
Comment #1
rerooting commentedLooks 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?!).
Comment #2
shadcn commentedYep. 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. :)
Comment #3
shadcn commentedComment #4
rerooting commentedIn fact, it looks like you just need to go to admin/config/development/jquery_update and change it to 1.8!
Comment #5
shadcn commentedjquery_update with 1.8 still breaks Panopoly :(
Comment #6
rerooting commentedhmm 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.
Comment #7
shadcn commentedMarking this as fixed. Feel free to reopen.