Problem/Motivation
When using Omega and the Grid Layout option (Please note if the Grid Layout is enabled but not shown the issue still occurs) then something causes almost all other javascript to cease working (A form built with Form API and an AJAX callback demostrates this, as does just using firebug lite. This demo uses firebug lite but feel free to use a form API and AJAX option if you prefer)
This issue seems to affect both 3.1 and 3.x-dev. I have not tested 4 due to it's alpha status. I have uploaded a video demonstrating this on Youtube[youtube.com] to demonstrate this. This affects other browsers too but I use chrome as my default hence demonstrating in Chrome.
Steps to recreate
- Install a fresh D7 site and download latest Omega
- Ensure you have firebug lite installed on Chrome (Mac) this issue seems to affect all javascript Drupal uses but Firebug is a nice demonstrator as it borks so spectacularly.
- On Bartik "prove" firebug lite works by showing it (Right click inspect element with firebug lite)
- Enable Omega (This seems to be an issue with subthemes and the main omega theme) and set as default
- Clear cache (Although this is done automatically on setting theme)
Expected behaviour
Firebug lite shows, AJAX properties work as expected etc
Actual behaviour
Firebug Lite no longer shows on page. Using Google's inspect element you see a Javascript error highlight line 30905 saying "Uncaught Type Error: Cannot call method 'push ' of undefined. Said line is this.messageQueue.push( [message, className]); in the this.logRow() function.
Suspected area of issue
The Grid Layout option with Omega. If I disable the grid layout and clear cache the issue disappears. I am not sure if this is an issue with Omega or Firebug lite though. As turning off the Grid Layout resolves this issue there is an acceptable work around (I don't need Grid Layout on when not theming), I figured I would start logging the issue here as it is clearly the Grid Layout code (Or one of it's component libraries) that triggers this error. If nothing else if that code can be identified the Drupal community can help the Firebug Community resolve the issue their end.