Closed (fixed)
Project:
Timeline
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2012 at 15:32 UTC
Updated:
5 Dec 2012 at 19:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
olofbokedal commentedThis is caused because the JS file is added using the base path of the site.
If you look at the http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_a... function, it says
regarding the path of the file.
This patch should fix this, without causing any unexpected behaviors.
Comment #2
clemens.tolboomThis relates to #1232966: Allow JavaScript aggregation
Comment #3
clemens.tolboom[edit: duplicated comment]
Comment #4
clemens.tolboomI moved the $base_path to where it is used and added some docs to explain why.
Comment #5
clemens.tolboomShould be $base_path
Attached patch fixes the above and added one code style fix.
Comment #6
clemens.tolboomComment #7
bkantique commentedHi
Sorry for the dummy question but I am new on Drupal.
I have the same issue as describe but I don't know how (and where or on which file) I can apply the proposed patch.
Can you explain the process to apply it please ?
thanks in advance
BR
BKantique
Comment #8
jchatard commentedTested and approved!
Thanks,
Jérémy
Comment #9
xamanu commentedCommitted. Thank you!!