Needs review
Project:
Chrysalis
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2009 at 16:12 UTC
Updated:
16 Jan 2010 at 14:09 UTC
Jump to comment: Most recent file
Title says all.
This is causing javascript errors when asynchronous module is not enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | chrysalis-asynchronous_js_support-374773-1.patch | 1.34 KB | andrewmacpherson |
Comments
Comment #1
andrewmacpherson commentedHi, I managed to get this working quite easily. We just need to test for the asynchronous module before adding the javascript file.
Add the following to
template.phpRemove this line from
chrysalis.infoComment #2
andrewmacpherson commentedComment #3
peterx commentedThe javascript error I get in Firebug at http://d-theme.com/chrysalis is:
Drupal.settings.asynchronous is undefined.asynchronous.js could have a test for Drupal.settings.asynchronous wrapped around the two statements that try to set Drupal.settings.asynchronous.
Comment #4
andrewmacpherson commentedComment #5
dsanchez commentedI tried what is suggested in #1 but still get as pointed by #3
Message: 'Drupal.settings.asynchronous' is null or not an object
Line: 6
Char: 1
Code: 0
URI: http://xxxxxxxxxxxx/themes/chrysalis/asynchronous.js?c