You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2014/09/18 11:13:47 UTC
svn commit: r922667 - in /websites/staging/tomee/trunk: cgi-bin/ content/
content/resources/js/common.js
Author: buildbot
Date: Thu Sep 18 09:13:46 2014
New Revision: 922667
Log:
Staging update by buildbot for tomee
Modified:
websites/staging/tomee/trunk/cgi-bin/ (props changed)
websites/staging/tomee/trunk/content/ (props changed)
websites/staging/tomee/trunk/content/resources/js/common.js
Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Sep 18 09:13:46 2014
@@ -1 +1 @@
-1625921
+1625922
Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Sep 18 09:13:46 2014
@@ -1 +1 @@
-1625921
+1625922
Modified: websites/staging/tomee/trunk/content/resources/js/common.js
==============================================================================
--- websites/staging/tomee/trunk/content/resources/js/common.js (original)
+++ websites/staging/tomee/trunk/content/resources/js/common.js Thu Sep 18 09:13:46 2014
@@ -1,5 +1,6 @@
$(document).ready(function() {
- var location = escape(window.localtion.href).replace("+", "%2B").replace("/", "%2F");
+ //var location = escape(window.location.href).replace("+", "%2B").replace("/", "%2F");
+ var location = encodeURIComponent(window.location.href);
$('fb_share_link').attr('share_url', location);
$('fb_share_link').attr('share_url', 'http://twitter.com/share?url=' + location + "&via=OpenEJB");
});