Author: [email protected]
Date: Tue Jan 10 10:38:56 2012
New Revision: 1902
Log:
[AMDATUOPENSOCIAL-176] Fixed loading icon not disappearing when multiple
gadgets are rendered on the dashboard
Modified:
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
Modified:
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
==============================================================================
---
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
(original)
+++
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
Tue Jan 10 10:38:56 2012
@@ -821,7 +821,7 @@
var onload = "var iframe=document.getElementById('" + iframeId + "');" +
"iframe.style.visibility='';" +
"iframe.style.display='';" +
- "var loading=document.getElementById('loading');" +
+ "var loading=document.getElementById('" + iframeId + "_loading');" +
"loading.style.visibility='hidden';" +
"loading.style.display='none';";
@@ -833,7 +833,7 @@
(this.height ? ' height="' + this.height + '"' : '') +
(this.width ? ' width="' + this.width + '"' : '') +
' onload="' + onload + '"></iframe>' +
- '<div id="loading" width="100%" align="center" class="loading">' +
+ '<div id="' + iframeId + '_loading" width="100%" align="center"
class="loading">' +
'<img
src="/gadgets/static/images/loading.gif"/><p>Loading...</p></div></div>');
},
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits