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/12/22 11:59:53 UTC

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

Author: lindner
Date: Wed Dec 22 10:59:53 2010
New Revision: 1051829

URL: http://svn.apache.org/viewvc?rev=1051829&view=rev
Log:
SHINDIG-1484 | Patch from Ryan Baxter | Its not easy to set the severBase_ variable when extending shindig.BaseIfrGadget

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=1051829&r1=1051828&r2=1051829&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 Wed Dec 22 10:59:53 2010
@@ -479,7 +479,9 @@ shindig.Gadget.prototype.getAdditionalPa
 
 shindig.BaseIfrGadget = function(opt_params) {
   shindig.Gadget.call(this, opt_params);
-  this.serverBase_ = '/gadgets/'; // default gadget server
+  if(!this.serverBase_){
+	  this.serverBase_ = '/gadgets/'; // default gadget server
+  }
   this.queryIfrGadgetType_();
 };