You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by jo...@apache.org on 2012/11/27 22:49:42 UTC

svn commit: r1414413 - /struts/site/branches/site2fluidomigration/src/site/site.xml

Author: jogep
Date: Tue Nov 27 21:49:42 2012
New Revision: 1414413

URL: http://svn.apache.org/viewvc?rev=1414413&view=rev
Log:
Add missing http to facebook integration script

Modified:
    struts/site/branches/site2fluidomigration/src/site/site.xml

Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414413&r1=1414412&r2=1414413&view=diff
==============================================================================
--- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
+++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 21:49:42 2012
@@ -39,7 +39,7 @@
                 var js, fjs = d.getElementsByTagName(s)[0];
                 if (d.getElementById(id)) return;
                 js = d.createElement(s); js.id = id;
-                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+                js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
                 fjs.parentNode.insertBefore(js, fjs);
                 }(document, 'script', 'facebook-jssdk'));
 



Re: svn commit: r1414413 - /struts/site/branches/site2fluidomigration/src/site/site.xml

Posted by Lukasz Lenart <lu...@apache.org>.
Works when accessed via http://localhost, thanks!

2012/11/27 Lukasz Lenart <lu...@apache.org>:
> e... my fault ;-) I'm testing from file system, so by default protocol
> will be file://
>
> 2012/11/27 Lukasz Lenart <lu...@apache.org>:
>> But this time, error is more complicated:
>>
>> FB.getLoginStatus() called before calling FB.init(). all.js:52
>> GET file://www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false
>>  www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false:1
>>
>>
>> 2012/11/27 Lukasz Lenart <lu...@apache.org>:
>>> It didn't help, but maybe it's related to OSX ?
>>>
>>>
>>> Regards
>>> --
>>> Łukasz
>>> + 48 606 323 122 http://www.lenart.org.pl/
>>>
>>> 2012/11/27  <jo...@apache.org>:
>>>> Author: jogep
>>>> Date: Tue Nov 27 21:49:42 2012
>>>> New Revision: 1414413
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1414413&view=rev
>>>> Log:
>>>> Add missing http to facebook integration script
>>>>
>>>> Modified:
>>>>     struts/site/branches/site2fluidomigration/src/site/site.xml
>>>>
>>>> Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
>>>> URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414413&r1=1414412&r2=1414413&view=diff
>>>> ==============================================================================
>>>> --- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
>>>> +++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 21:49:42 2012
>>>> @@ -39,7 +39,7 @@
>>>>                  var js, fjs = d.getElementsByTagName(s)[0];
>>>>                  if (d.getElementById(id)) return;
>>>>                  js = d.createElement(s); js.id = id;
>>>> -                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
>>>> +                js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
>>>>                  fjs.parentNode.insertBefore(js, fjs);
>>>>                  }(document, 'script', 'facebook-jssdk'));
>>>>
>>>>
>>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: svn commit: r1414413 - /struts/site/branches/site2fluidomigration/src/site/site.xml

Posted by Lukasz Lenart <lu...@apache.org>.
e... my fault ;-) I'm testing from file system, so by default protocol
will be file://

2012/11/27 Lukasz Lenart <lu...@apache.org>:
> But this time, error is more complicated:
>
> FB.getLoginStatus() called before calling FB.init(). all.js:52
> GET file://www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false
>  www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false:1
>
>
> 2012/11/27 Lukasz Lenart <lu...@apache.org>:
>> It didn't help, but maybe it's related to OSX ?
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> 2012/11/27  <jo...@apache.org>:
>>> Author: jogep
>>> Date: Tue Nov 27 21:49:42 2012
>>> New Revision: 1414413
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1414413&view=rev
>>> Log:
>>> Add missing http to facebook integration script
>>>
>>> Modified:
>>>     struts/site/branches/site2fluidomigration/src/site/site.xml
>>>
>>> Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
>>> URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414413&r1=1414412&r2=1414413&view=diff
>>> ==============================================================================
>>> --- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
>>> +++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 21:49:42 2012
>>> @@ -39,7 +39,7 @@
>>>                  var js, fjs = d.getElementsByTagName(s)[0];
>>>                  if (d.getElementById(id)) return;
>>>                  js = d.createElement(s); js.id = id;
>>> -                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
>>> +                js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
>>>                  fjs.parentNode.insertBefore(js, fjs);
>>>                  }(document, 'script', 'facebook-jssdk'));
>>>
>>>
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: svn commit: r1414413 - /struts/site/branches/site2fluidomigration/src/site/site.xml

Posted by Lukasz Lenart <lu...@apache.org>.
But this time, error is more complicated:

FB.getLoginStatus() called before calling FB.init(). all.js:52
GET file://www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false
 www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false:1


2012/11/27 Lukasz Lenart <lu...@apache.org>:
> It didn't help, but maybe it's related to OSX ?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2012/11/27  <jo...@apache.org>:
>> Author: jogep
>> Date: Tue Nov 27 21:49:42 2012
>> New Revision: 1414413
>>
>> URL: http://svn.apache.org/viewvc?rev=1414413&view=rev
>> Log:
>> Add missing http to facebook integration script
>>
>> Modified:
>>     struts/site/branches/site2fluidomigration/src/site/site.xml
>>
>> Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
>> URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414413&r1=1414412&r2=1414413&view=diff
>> ==============================================================================
>> --- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
>> +++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 21:49:42 2012
>> @@ -39,7 +39,7 @@
>>                  var js, fjs = d.getElementsByTagName(s)[0];
>>                  if (d.getElementById(id)) return;
>>                  js = d.createElement(s); js.id = id;
>> -                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
>> +                js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
>>                  fjs.parentNode.insertBefore(js, fjs);
>>                  }(document, 'script', 'facebook-jssdk'));
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: svn commit: r1414413 - /struts/site/branches/site2fluidomigration/src/site/site.xml

Posted by Lukasz Lenart <lu...@apache.org>.
It didn't help, but maybe it's related to OSX ?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2012/11/27  <jo...@apache.org>:
> Author: jogep
> Date: Tue Nov 27 21:49:42 2012
> New Revision: 1414413
>
> URL: http://svn.apache.org/viewvc?rev=1414413&view=rev
> Log:
> Add missing http to facebook integration script
>
> Modified:
>     struts/site/branches/site2fluidomigration/src/site/site.xml
>
> Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
> URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414413&r1=1414412&r2=1414413&view=diff
> ==============================================================================
> --- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
> +++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 21:49:42 2012
> @@ -39,7 +39,7 @@
>                  var js, fjs = d.getElementsByTagName(s)[0];
>                  if (d.getElementById(id)) return;
>                  js = d.createElement(s); js.id = id;
> -                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
> +                js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
>                  fjs.parentNode.insertBefore(js, fjs);
>                  }(document, 'script', 'facebook-jssdk'));
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org