Update to use feedback-v2.js (and support SSL)

walkah - July 9, 2009 - 18:52
Project:Get Satisfaction
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:walkah
Status:closed
Description

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/ )

AttachmentSize
gsfn.patch2.03 KB

#1

flevour - July 17, 2009 - 14:26

Hi 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

#2

turadg - August 12, 2009 - 19:19
Status:needs review» reviewed & tested by the community

The 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".

#3

flevour - November 6, 2009 - 11:45

Finally 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

#4

flevour - November 6, 2009 - 11:45
Status:reviewed & tested by the community» fixed

Marking as fixed.

#5

System Message - November 20, 2009 - 11:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.