Closed (fixed)
Project:
Get Satisfaction
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Jul 2009 at 18:52 UTC
Updated:
20 Nov 2009 at 11:50 UTC
greetings! we ran into an issue on http://store.lullabot.com/ because the module currently hard-codes "http://" for the URL to the JS include from amazon s3.
The attached patch updates the module to use the latest JS file from getsatisfaction and does detection on the current protocol so the proper include is generated . (You can see the patch in action on http://store.lullabot.com/ )
| Comment | File | Size | Author |
|---|---|---|---|
| gsfn.patch | 2.03 KB | walkah |
Comments
Comment #1
flevour commentedHi Walkah,
thanks for sending this patch over.
Is there a reason why you use 2 different calls to drupal_add_js (one inline and one in the footer)?
Keep up the fun,
Francesco
Comment #2
turadg commentedThe footer call is probably for performance, so the widget generation doesn't slow the page load.
In any case, the patch works well. I just tested it, so I'm marking it "tested by the community".
Comment #3
flevour commentedFinally got the time to release a 1.2 which includes this patch. See the Changelog for a very surprising change since last release.
Thanks for your contribution,
Francesco
Comment #4
flevour commentedMarking as fixed.