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 2013/01/31 20:14:31 UTC
svn commit: r1441144 -
/shindig/trunk/features/src/main/javascript/features/container/service.js
Author: ddumont
Date: Thu Jan 31 19:14:30 2013
New Revision: 1441144
URL: http://svn.apache.org/viewvc?rev=1441144&view=rev
Log:
SHINDIG-1891 - Module-ID always returned as 0
Committed for Martin Höller
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=1441144&r1=1441143&r2=1441144&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 31 19:14:30 2013
@@ -238,7 +238,7 @@ osapi.container.Service.prototype.getGad
// Otherwise, cache response. Augment final response with server response.
} else {
for (var id in response) {
- var mid = response[osapi.container.TokenResponse.MODULE_ID],
+ var mid = response[id][osapi.container.TokenResponse.MODULE_ID],
url = osapi.container.util.buildTokenRequestUrl(id, mid);
//response[id]['url'] = id; // make sure url is set