Author: lindner
Date: Thu Feb 28 16:32:51 2008
New Revision: 632183
URL: http://svn.apache.org/viewvc?rev=632183&view=rev
Log:
don't allow negative rpcToken values, causes problems on FF3 at least
Modified:
incubator/shindig/trunk/javascript/container/gadgets.js
Modified: incubator/shindig/trunk/javascript/container/gadgets.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/container/gadgets.js?rev=632183&r1=632182&r2=632183&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/container/gadgets.js (original)
+++ incubator/shindig/trunk/javascript/container/gadgets.js Thu Feb 28 16:32:51
2008
@@ -452,7 +452,7 @@
'gadgets-gadget-user-prefs-dialog-action-bar';
gadgets.IfrGadget.prototype.cssClassTitleButton =
'gadgets-gadget-title-button';
gadgets.IfrGadget.prototype.cssClassGadgetContent = 'gadgets-gadget-content';
-gadgets.IfrGadget.prototype.rpcToken = (0xFFFFFFFF * Math.random()) | 0;
+gadgets.IfrGadget.prototype.rpcToken = (0x7FFFFFFF * Math.random()) | 0;
gadgets.IfrGadget.prototype.rpcRelay = 'files/rpc_relay.html';
gadgets.IfrGadget.prototype.getTitleBarContent = function(continuation) {