You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by zh...@apache.org on 2008/02/13 23:20:05 UTC

svn commit: r627601 - in /incubator/shindig/trunk: features/dynamic-height/dynamic-height.js features/setprefs/setprefs.js features/settitle/settitle.js javascript/container/gadgets.js

Author: zhen
Date: Wed Feb 13 14:20:02 2008
New Revision: 627601

URL: http://svn.apache.org/viewvc?rev=627601&view=rev
Log:
Fixed inconsistent IFrame prefix.


Modified:
    incubator/shindig/trunk/features/dynamic-height/dynamic-height.js
    incubator/shindig/trunk/features/setprefs/setprefs.js
    incubator/shindig/trunk/features/settitle/settitle.js
    incubator/shindig/trunk/javascript/container/gadgets.js

Modified: incubator/shindig/trunk/features/dynamic-height/dynamic-height.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/dynamic-height/dynamic-height.js?rev=627601&r1=627600&r2=627601&view=diff
==============================================================================
--- incubator/shindig/trunk/features/dynamic-height/dynamic-height.js (original)
+++ incubator/shindig/trunk/features/dynamic-height/dynamic-height.js Wed Feb 13 14:20:02 2008
@@ -126,7 +126,7 @@
   // Only make the IFPC call if height has changed
   if (newHeight != gadgets.window.oldHeight_) {
     gadgets.window.oldHeight_ = newHeight;
-    var modId = 'remote_module_' + (new gadgets.Prefs()).getModuleId();
+    var modId = 'remote_iframe_' + (new gadgets.Prefs()).getModuleId();
     var ifpcRelay = gadgets.util.getUrlParameters().parent || '';
     gadgets.ifpc_.call(modId, "resize_iframe", [modId, newHeight],
       ifpcRelay, null, '');

Modified: incubator/shindig/trunk/features/setprefs/setprefs.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/setprefs/setprefs.js?rev=627601&r1=627600&r2=627601&view=diff
==============================================================================
--- incubator/shindig/trunk/features/setprefs/setprefs.js (original)
+++ incubator/shindig/trunk/features/setprefs/setprefs.js Wed Feb 13 14:20:02 2008
@@ -42,7 +42,7 @@
     gadgets.prefs_.setPref(this.moduleId_, key, value);
   }
 
-  var modId = 'remote_module_' + this.getModuleId();
+  var modId = 'remote_iframe_' + this.getModuleId();
   var params = gadgets.util.getUrlParameters();
   var ifpcRelay = (params.parent || '') + '/ig/ifpc_relay';
   var ifpcArgs = Array.prototype.slice.call(arguments);

Modified: incubator/shindig/trunk/features/settitle/settitle.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?rev=627601&r1=627600&r2=627601&view=diff
==============================================================================
--- incubator/shindig/trunk/features/settitle/settitle.js (original)
+++ incubator/shindig/trunk/features/settitle/settitle.js Wed Feb 13 14:20:02 2008
@@ -32,7 +32,7 @@
  * @scope gadgets.window
  */
 gadgets.window.setTitle = function(title) {
-  var modId = 'remote_module_' + (new gadgets.Prefs()).getModuleId();
+  var modId = 'remote_iframe_' + (new gadgets.Prefs()).getModuleId();
   var ifpcRelay = gadgets.util.getUrlParameters().parent || '';
   gadgets.ifpc_.call(modId, 'set_title', [modId, title], ifpcRelay, null, '');
 };

Modified: incubator/shindig/trunk/javascript/container/gadgets.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/container/gadgets.js?rev=627601&r1=627600&r2=627601&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/container/gadgets.js (original)
+++ incubator/shindig/trunk/javascript/container/gadgets.js Wed Feb 13 14:20:02 2008
@@ -438,7 +438,7 @@
 
 gadgets.IfrGadget.inherits(gadgets.Gadget);
 
-gadgets.IfrGadget.prototype.GADGET_IFRAME_PREFIX_ = 'remote_module_';
+gadgets.IfrGadget.prototype.GADGET_IFRAME_PREFIX_ = 'remote_iframe_';
 
 gadgets.IfrGadget.prototype.SYND = 'gadgets';