You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/08/27 08:29:34 UTC

svn commit: r990040 - /shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js

Author: lindner
Date: Fri Aug 27 06:29:33 2010
New Revision: 990040

URL: http://svn.apache.org/viewvc?rev=990040&view=rev
Log:
SHINDIG-1413 | Patch from Arn Waßmann | this.parentUrl_ in the gadgets.Container can only be used with http

Modified:
    shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js

Modified: shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js?rev=990040&r1=990039&r2=990040&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js (original)
+++ shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js Fri Aug 27 06:29:33 2010
@@ -671,7 +671,7 @@ shindig.IfrGadget.prototype.refresh = fu
  */
 shindig.Container = function() {
   this.gadgets_ = {};
-  this.parentUrl_ = 'http://' + document.location.host;
+  this.parentUrl_ = document.location.href + '://' + document.location.host;
   this.country_ = 'ALL';
   this.language_ = 'ALL';
   this.view_ = 'default';