You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2010/01/20 02:15:01 UTC

svn commit: r901027 - /incubator/shindig/trunk/features/src/main/javascript/features/setprefs/setprefs.js

Author: johnh
Date: Wed Jan 20 01:15:01 2010
New Revision: 901027

URL: http://svn.apache.org/viewvc?rev=901027&view=rev
Log:
Take rpctoken into account for setprefs legacy "security".


Modified:
    incubator/shindig/trunk/features/src/main/javascript/features/setprefs/setprefs.js

Modified: incubator/shindig/trunk/features/src/main/javascript/features/setprefs/setprefs.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/setprefs/setprefs.js?rev=901027&r1=901026&r2=901027&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/setprefs/setprefs.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/setprefs/setprefs.js Wed Jan 20 01:15:01 2010
@@ -52,7 +52,8 @@
     null, // go to parent
     "set_pref", // service name
     null, // no callback
-    gadgets.util.getUrlParameters().ifpctok || 0 // Legacy IFPC "security".
+    gadgets.util.getUrlParameters().ifpctok ||
+      gadgets.util.getUrlParameters().rpctoken || 0 // Legacy IFPC "security".
   ].concat(Array.prototype.slice.call(arguments));
 
   gadgets.rpc.call.apply(gadgets.rpc, args);