You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by dd...@apache.org on 2012/01/19 21:31:33 UTC

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

Author: ddumont
Date: Thu Jan 19 20:31:33 2012
New Revision: 1233562

URL: http://svn.apache.org/viewvc?rev=1233562&view=rev
Log:
Fixed calling utility function with incorrect context.

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

Modified: shindig/trunk/features/src/main/javascript/features/container/service.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/container/service.js?rev=1233562&r1=1233561&r2=1233562&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/container/service.js (original)
+++ shindig/trunk/features/src/main/javascript/features/container/service.js Thu Jan 19 20:31:33 2012
@@ -432,7 +432,7 @@ osapi.container.Service.prototype.getCou
         containerTokenTTL = token ? (ttl * 1000 * 0.8) : containerTokenTTL;
         if (containerTokenTTL) {
           // Refresh again in 80% of the reported ttl
-          containerTimeout = setTimeout(gadgets.util.makeClosure(this, refresh), containerTokenTTL);
+          containerTimeout = setTimeout(gadgets.util.makeClosure(self, refresh), containerTokenTTL);
         }
 
         if (token) {